blob: 1c32a2f9dc70e7809d3e5dcd1b24f71822143f48 (
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
30
31
32
|
# Maintainer: Rene Hickersberger <r@renehsz.com>
_pkgbase='9pro'
pkgname="$_pkgbase-git"
pkgver=r111.2c1651b
pkgrel=1
pkgdesc='Plan9-related tools for Unix-like operating systems'
url='https://git.sr.ht/~ft/9pro'
license=('public domain')
arch=('x86_64')
depends=()
makedepends=()
provides=('9pro')
conflicts=('9pro')
source=("$_pkgbase::git+https://git.sr.ht/~ft/9pro")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgbase"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$_pkgbase"
CFLAGS="-Os -s -g0" make
}
package() {
cd "$srcdir/$_pkgbase"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|