Christoph Reiter 35f2e576bf
tree: Update to 2.2.1 (#5142)
simple patch refresh
2025-01-16 09:19:22 +01:00

33 lines
929 B
Bash

# Maintainer: Alexey Pavlov <Alexpux@gmail.com>
pkgname=tree
pkgver=2.2.1
pkgrel=1
pkgdesc="A directory listing program displaying a depth indented list of files"
arch=('i686' 'x86_64')
url="http://mama.indstate.edu/users/ice/tree/"
msys2_references=(
"anitya: 5006"
)
license=('GPL')
makedepends=('make' 'gcc')
source=("https://gitlab.com/OldManProgrammer/unix-tree/-/archive/${pkgver}/unix-tree-${pkgver}.tar.gz"
'Makefile-Uncomment-for-Cygwin.patch')
sha256sums=('70d9c6fc7c5f4cb1f7560b43e2785194594b9b8f6855ab53376f6bd88667ee04'
'dc82ca9afa916267db763cda7db18b9812cc318d19115cbff2e7ce38580a9583')
prepare() {
cd ${srcdir}/unix-${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/Makefile-Uncomment-for-Cygwin.patch
}
build() {
cd ${srcdir}/unix-${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/unix-${pkgname}-${pkgver}
make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
}