diff options
author | Chih-Hsuan Yen | 2018-12-06 01:28:09 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-12-06 01:28:09 +0800 |
commit | 7e27b40d074a5b28e0535a60c7519474e9afabe4 (patch) | |
tree | 7c4bdb8c6b41c7f83290cf071c818fd1a92b9341 | |
parent | 74d761b40500ea99b606906e64b6c585df86301e (diff) | |
download | aur-7e27b40d074a5b28e0535a60c7519474e9afabe4.tar.gz |
adopt and fix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | lilac.yaml | 11 |
3 files changed, 22 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = tokyocabinet pkgdesc = a modern implementation of DBM pkgver = 1.4.48 - pkgrel = 1 + pkgrel = 2 url = http://fallabs.com/tokyocabinet/ arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=tokyocabinet pkgver=1.4.48 -pkgrel=1 +pkgrel=2 pkgdesc="a modern implementation of DBM" arch=('i686' 'x86_64') url="http://fallabs.com/tokyocabinet/" @@ -14,9 +14,17 @@ depends=('zlib' 'bzip2') source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz") md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e') +prepare() { + cd $pkgname-$pkgver + + # get rid of references to $HOME + sed -i 's|LDENV = .*|LDENV = |' Makefile.in + sed -i 's|$HOME|/usr|' configure +} + build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --enable-off64 --enable-fastest + ./configure --prefix=/usr --libexecdir="/usr/lib/$pkgname" --enable-off64 --enable-fastest make } diff --git a/lilac.yaml b/lilac.yaml new file mode 100644 index 000000000000..5ea64a8d6443 --- /dev/null +++ b/lilac.yaml @@ -0,0 +1,11 @@ +maintainers: + - github: yan12125 + +build_prefix: extra-x86_64 + +pre_build: aur_pre_build + +post_build: aur_post_build + +update_on: + - aur |