diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 23 insertions, 16 deletions
@@ -1,7 +1,7 @@ pkgbase = jdsp4linux-gui-git pkgdesc = User Interface for JamesDSP on Linux - pkgver = 1.1.r2.3abfc92 - pkgrel = 2 + pkgver = 1.1.r5.gc03eecb + pkgrel = 1 url = https://github.com/ThePBone/JDSP4Linux-GUI arch = x86_64 license = GPL3 @@ -17,4 +17,3 @@ pkgbase = jdsp4linux-gui-git sha256sums = fa8ed0bee321c7fed6d2368d0bdf6fd12a3318e324bbda50ec6dbe7e3b784794 pkgname = jdsp4linux-gui-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..49a76b6cced1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO +!jdsp4linux-gui.desktop @@ -1,7 +1,7 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=jdsp4linux-gui-git -pkgver=1.1.r2.3abfc92 -pkgrel=2 +pkgver=1.1.r5.gc03eecb +pkgrel=1 pkgdesc="User Interface for JamesDSP on Linux" arch=('x86_64') url="https://github.com/ThePBone/JDSP4Linux-GUI" @@ -16,21 +16,21 @@ sha256sums=('SKIP' 'fa8ed0bee321c7fed6d2368d0bdf6fd12a3318e324bbda50ec6dbe7e3b784794') pkgver() { - cd "$srcdir/${pkgname%-git}" - printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + cd "$srcdir/${pkgname%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/${pkgname%-git}" - qmake - make PREFIX=/usr + cd "$srcdir/${pkgname%-git}" + qmake + make PREFIX=/usr } package() { - cd "$srcdir/${pkgname%-git}" - install -Dm755 jdsp-gui -t "$pkgdir/usr/bin" - install -Dm644 "$srcdir/${pkgname%-git}.desktop" -t \ - "$pkgdir/usr/share/applications" - install -Dm644 icons/icon.png \ - "$pkgdir/usr/share/pixmaps/jdsp-gui.png" + cd "$srcdir/${pkgname%-git}" + install -Dm755 jdsp-gui -t "$pkgdir/usr/bin" + install -Dm644 "$srcdir/${pkgname%-git}.desktop" -t \ + "$pkgdir/usr/share/applications" + install -Dm644 icons/icon.png \ + "$pkgdir/usr/share/pixmaps/jdsp-gui.png" } |