diff options
author | minus | 2018-11-02 19:28:57 +0100 |
---|---|---|
committer | minus | 2018-11-02 19:28:57 +0100 |
commit | 6bbee0f7fec14c851b4c80a5f4f43778a69629a8 (patch) | |
tree | a16fdb822ccb3d2131f29f4e1ea3fb4013a19ecc | |
parent | 65cbdecd3971c45aee2104e2ed204bb3577ed6f5 (diff) | |
download | aur-6bbee0f7fec14c851b4c80a5f4f43778a69629a8.tar.gz |
Fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = webdis pkgdesc = REST server for Redis data pkgver = 0.1.4 - pkgrel = 1 + pkgrel = 2 url = https://webd.is/ install = webdis.install arch = x86_64 @@ -4,7 +4,7 @@ pkgname=webdis pkgver=0.1.4 -pkgrel=1 +pkgrel=2 pkgdesc='REST server for Redis data' arch=('x86_64' 'i686') url='https://webd.is/' @@ -19,12 +19,12 @@ sha256sums=('2e384eae48cfc2e4503e3311c61d4790e5d3b3ab5cf82ec554c0bef5d84c6807' 'f409fefee8533e60db6a6340c021b77b57f55cfcbf26ae4acdc3b672c7aa79b7') build() { - make -C "$pkgname" LDFLAGS+="-levent -pthread" \ + make -C "$pkgname-$pkgver" LDFLAGS+="-levent -pthread" \ CFLAGS+="-I. -Ihttp-parser -Iformats -Ijansson/src" } package() { - cd "$pkgname" + cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" PREFIX=/usr install install -Dm644 COPYING "$pkgdir/usr/share/licenses/webdis/COPYING" |