blob: 3a25ee10f174c592b13efb8bedc008264aed7209 (
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
33
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=genht-svn
pkgver=r135
pkgrel=1
pkgdesc="genht is a simple generic hash table implementation in C."
arch=($CARCH)
url="http://www.repo.hu/projects/genht"
license=('0BSD')
provides=(${pkgname%-svn})
conflicts=(${pkgname%-svn})
depends=(
glibc)
makedepends=(
subversion)
source=("svn://repo.hu/genht/trunk")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]/}"
}
build() {
cd "$srcdir/trunk/"
make GENHT_LDFLAGS="-Wl,-z,now -Wl,-z,relro"
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
|