diff options
-rw-r--r-- | pcr-testing/parabola-laf/PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pcr-testing/parabola-laf/PKGBUILD b/pcr-testing/parabola-laf/PKGBUILD index 5446d8445..29ca7ad89 100644 --- a/pcr-testing/parabola-laf/PKGBUILD +++ b/pcr-testing/parabola-laf/PKGBUILD @@ -2,7 +2,7 @@ pkgname=parabola-laf -pkgver=0.5 +pkgver=v0.6 pkgrel=1 pkgdesc="User skeleton, artwork, and utilities for Parabola graphical desktop systems" arch=('any') @@ -10,15 +10,21 @@ license=('GPL') url=https://wiki.parabola.nu/Parabola-LAF depends=() -makedepends=() +makedepends=('git') -#_giturl=https://git.parabola.nu/packages/${pkgname}.git -#source=("${_srcdir}::git+${_giturl}/tag/?h=v${pkgver}") -source=("https://notabug.org/bill-auger/parabola-laf/archive/v${pkgver}.tar.gz") -sha256sums=('075bf2685a1dbb6fb6806f50614e9f18516cd7ea1d94724a61e6701eccf66d45') +source=("git+https://git.parabola.nu/${pkgname}.git") +sha256sums=('SKIP') +pkgver() { + cd "${pkgname}" + git tag | sort | tail -n1 +} + package() { + cd "${pkgname}" + git checkout ${pkgver} + mkdir -p $pkgdir/usr/share/backgrounds mkdir -p $pkgdir/usr/share/pixmaps mkdir -p $pkgdir/usr/bin |