blob: 5e09b8f816a1d1f8a17a5c43aad0c21d3f512d2a (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=gperf-git
pkgver=3.3.r3.g4939b6b
pkgrel=2
pkgdesc="A perfect hash function generator"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/gperf/"
license=('GPL-3.0-or-later')
depends=('glibc')
makedepends=('git' 'python')
provides=("gperf=$pkgver")
conflicts=('gperf')
source=("git+https://git.savannah.gnu.org/git/gperf.git"
"git+https://git.savannah.gnu.org/git/gnulib.git")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "gperf"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "gperf"
export GNULIB_SRCDIR="$srcdir/gnulib"
./autogen.sh
./configure \
--prefix="/usr"
sed -i 's/ cd doc;/# cd doc;/' "Makefile" # skip over doc
make
}
check() {
cd "gperf"
#make check
}
package() {
cd "gperf"
make DESTDIR="$pkgdir" install
}
|