blob: e605b5cfcb3e4594ca520611a64a947907205e9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: noTmeDev <notmedev28@gmail.com>
pkgname='termtree'
pkgver=2.3.1
pkgrel=2
pkgdesc="A file tree view"
arch=('x86_64')
url="https://github.com/bendikMichal/termtree"
license=('MIT')
depends=('glibc')
makedepends=('git' 'mingw-w64-gcc' 'make')
source=("git+https://github.com/bendikMichal/$pkgname")
md5sums=('SKIP')
# pkgver() {
# cd "$pkgname"
# git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
# }
build() {
cd "$pkgname"
make
}
package() {
install -Dm644 "${srcdir}/termtree/ttree.1" "${pkgdir}/usr/share/man/man1/ttree.1"
install -Dm755 "${srcdir}/termtree/build/ttree" "${pkgdir}/usr/bin/ttree"
}
|