diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 14 insertions, 12 deletions
@@ -16,7 +16,7 @@ pkgbase = zrythm-git depends = libdazzle provides = zrythm conflicts = zrythm - source = zrythm-git::git+https://gitlab.com/alextee/zrythm.git + source = zrythm::git+https://gitlab.com/alextee/zrythm.git md5sums = SKIP pkgname = zrythm-git @@ -1,36 +1,38 @@ # Maintainer: Alexandros Theodotou <alex at alextee dot org> -pkgname=zrythm-git +_pkgname=zrythm +pkgname=$_pkgname-git pkgver=r141.668d754 pkgrel=1 pkgdesc="Free GNU/Linux music production system (DAW)" arch=('x86_64') url="https://gitlab.com/alextee/zrythm" license=('GPL3') -provides=("${pkgname%-git}") -conflicts=("${pkgname%-git}") +provides=("$_pkgname") +conflicts=("$_pkgname") depends=('gtk3' 'lv2' 'lilv' 'suil' 'jack' 'libsndfile' 'libsmf' 'libdazzle') makedepends=('git') -source=("$pkgname::git+https://gitlab.com/alextee/zrythm.git") +source=("$_pkgname::git+https://gitlab.com/alextee/zrythm.git") md5sums=('SKIP') pkgver () { - cd "$srcdir/$pkgname" + cd "$srcdir/$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + prepare() { - cd "$srcdir/$pkgname" + cd "$srcdir/$_pkgname" } build() { - cd "$srcdir/$pkgname" + cd "$srcdir/$_pkgname" autoreconf -fi - ./configure --prefix=/usr --enable-aur-build - make + ./configure --prefix=/usr --enable-aur-build + make } package() { - cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" install + cd "$srcdir/$_pkgname" + make DESTDIR="$pkgdir/" install } |