summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2017-08-15 22:23:56 +0200
committerhaawda2017-08-15 22:23:56 +0200
commitb8d82757807a9041235b30442ae7204f3120e225 (patch)
tree68e277fe97fa2d0b757d1e93a55647ff7a59295f
parentf7804c7e266ef9de00e2ebbd3d57cbad45d41477 (diff)
downloadaur-b8d82757807a9041235b30442ae7204f3120e225.tar.gz
fix unquoted variables
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD24
2 files changed, 13 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a39e1406669..14a134e0c9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Aug 14 22:04:18 UTC 2017
pkgbase = hop-git
pkgdesc = Software Development Kit for the Web
- pkgver = 3.1.0r1116.9d6e126
+ pkgver = 3.1.0r3937.0ad65718
pkgrel = 1
url = http://hop.inria.fr
install = hop.install
diff --git a/PKGBUILD b/PKGBUILD
index 7c42e026141..3b184cf55ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=hop-git
-pkgver=3.1.0r1116.9d6e126
+pkgver=3.1.0r3937.0ad65718
pkgrel=1
pkgdesc="Software Development Kit for the Web"
arch=('i686' 'x86_64')
@@ -18,12 +18,12 @@ md5sums=('SKIP')
options=('!makeflags')
pkgver() {
- cd "$srcdir"/$_gitname
+ cd ${pkgname%-git}
printf "%sr%s.%s" "3.1.0" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd ${srcdir}/${pkgname%-git}
+ cd ${pkgname%-git}
./configure --prefix=/usr --etcdir=/etc/hop --mandir=/usr/share/man \
--disable-ssl --bigloobindir=/usr/bin \
--bigloolibdir=/usr/lib/bigloo/4.3b
@@ -32,20 +32,20 @@ build() {
}
check() {
- cd ${srcdir}/${pkgname%-git}
+ cd ${pkgname%-git}
make test
}
package() {
- cd ${srcdir}/${pkgname%-git}
- make DESTDIR=${pkgdir} install
- install -Dm644 arch/archlinux/conf.d/hop.in $pkgdir/etc/conf.d/hop
- install -Dm755 arch/archlinux/rc.d/hop.in $pkgdir/etc/rc.d/hop
+ cd ${pkgname%-git}
+ make DESTDIR="$pkgdir" install
+ install -Dm644 arch/archlinux/conf.d/hop.in "$pkgdir"/etc/conf.d/hop
+ install -Dm755 arch/archlinux/rc.d/hop.in "$pkgdir"/etc/rc.d/hop
install -Dm644 arch/archlinux/systemd/hop.service.in \
- $pkgdir/usr/lib/systemd/system/hop.service
+ "$pkgdir"/usr/lib/systemd/system/hop.service
install -Dm644 arch/archlinux/systemd/hop.socket.in \
- $pkgdir/usr/lib/systemd/system/hop.socket
+ "$pkgdir"/usr/lib/systemd/system/hop.socket
- install -Dm755 arch/archlinux/bin/hop.sh $pkgdir/usr/bin/hop.sh
- cd ${pkgdir}/usr/bin; rm hop; ln -s hop-3.0.0 hop
+ install -Dm755 arch/archlinux/bin/hop.sh "$pkgdir"/usr/bin/hop.sh
+ cd "$pkgdir"/usr/bin; rm hop; ln -s hop-3.0.0 hop
}