diff options
author | David Runge | 2017-10-25 04:04:08 +0200 |
---|---|---|
committer | David Runge | 2017-10-25 04:04:08 +0200 |
commit | c83bcb684fe5e22c2ba5b425fd88184730c2e8f3 (patch) | |
tree | 18805f8c619f52282defda8a2d8e506e67c85896 | |
parent | 22abde8e853d78806b5898d4395fddd5e289f941 (diff) | |
download | aur-c83bcb684fe5e22c2ba5b425fd88184730c2e8f3.tar.gz |
PKGBUILD: Updating pkdgdesc. Removing useless tee. Switching to autoreconf from autogen.sh in prepare(). Properly quoting variables.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 17 insertions, 13 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Oct 17 17:39:06 UTC 2017 +# Wed Oct 25 02:02:56 UTC 2017 pkgbase = veejay-utils-git - pkgdesc = Veejay is a visual instrument and realtime video sampler for GNU/Linux + pkgdesc = A visual instrument and realtime video sampler for GNU/Linux (utilities) pkgver = 1.5.57.r984.g560172d7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/c0ntrol/veejay arch = i686 arch = x86_64 @@ -1,10 +1,10 @@ # Contributor: honzor <dorhonzor@gmail.com> pkgname=veejay-utils-git -_name=veejay-utils +_pkg=veejay-utils _pkgroot=veejay pkgver=1.5.57.r984.g560172d7 -pkgrel=1 -pkgdesc="Veejay is a visual instrument and realtime video sampler for GNU/Linux" +pkgrel=2 +pkgdesc="A visual instrument and realtime video sampler for GNU/Linux (utilities)" arch=('i686' 'x86_64') url="https://github.com/c0ntrol/${_pkgroot}" groups=('veejay') @@ -14,22 +14,26 @@ provides=('veejay-utils') license=('LGPL') depends=('veejay-server' 'veejay-client') makedepends=('git') -source=("${_name}::git+https://github.com/c0ntrol/${_pkgroot}") +source=("${_pkg}::git+https://github.com/c0ntrol/${_pkgroot}") sha512sums=('SKIP') pkgver() { - cd "$srcdir/${_name}/${_pkgroot}-current" + cd "${_pkg}/${_pkgroot}-current" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' } +prepare() { + cd "${_pkg}/${_pkgroot}-current/${_pkg}" + autoreconf -fi +} + build() { - cd "$srcdir/${_name}/${_pkgroot}-current/${_name}" - ./autogen.sh + cd "${_pkg}/${_pkgroot}-current/${_pkg}" ./configure --prefix=/usr - make 2>&1 | tee build.log + make } package() { - cd "$srcdir/${_name}/${_pkgroot}-current/${_name}" - make DESTDIR="$pkgdir" install + cd "${_pkg}/${_pkgroot}-current/${_pkg}" + make DESTDIR="${pkgdir}" install } |