summaryrefslogtreecommitdiff
path: root/pcr-testing/parabola-laf/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-01 15:29:24 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-01 16:40:57 -0400
commit37afadf437afb922ad88dc1f5adc1dfc96c295e6 (patch)
treeb1b173b4dfcfafdf730736050d4bbdedd6c5b563 /pcr-testing/parabola-laf/PKGBUILD
parente6b3692660018608429dda411f61de84367af4b6 (diff)
downloadabslibre-37afadf437afb922ad88dc1f5adc1dfc96c295e6.tar.gz
abslibre-37afadf437afb922ad88dc1f5adc1dfc96c295e6.tar.bz2
abslibre-37afadf437afb922ad88dc1f5adc1dfc96c295e6.zip
[parabola-laf]: upgrade to v0.9
Diffstat (limited to 'pcr-testing/parabola-laf/PKGBUILD')
-rw-r--r--pcr-testing/parabola-laf/PKGBUILD48
1 files changed, 23 insertions, 25 deletions
diff --git a/pcr-testing/parabola-laf/PKGBUILD b/pcr-testing/parabola-laf/PKGBUILD
index 2d51755aa..359dff254 100644
--- a/pcr-testing/parabola-laf/PKGBUILD
+++ b/pcr-testing/parabola-laf/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=parabola-laf
-pkgver=0.8
-pkgrel=3
+pkgver=0.9
+pkgrel=1
pkgdesc="User skeleton, artwork, and utilities for Parabola graphical desktop systems"
arch=('any')
license=('GPL')
@@ -12,30 +12,28 @@ url=https://wiki.parabola.nu/Parabola-LAF
depends=()
makedepends=('git')
-source=("git+https://git.parabola.nu/${pkgname}.git")
-sha256sums=('SKIP')
+_git_tag="v${pkgver}"
+_release="${pkgname}-${_git_tag}"
+source=(https://git.parabola.nu/${pkgname}.git/snapshot/${_release}.tar.gz
+ news.txt)
+sha256sums=('f1ca1a5d12095a51810502c92efe2942f1a0710e35589fc5cfc89212ebd97348'
+ 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
-pkgver() {
- cd "${pkgname}"
- git tag | sort | tail -n1 | sed 's|^v\(.*\)|\1|'
-}
-
package() {
- cd "${pkgname}"
- git checkout "v${pkgver}"
-
- mkdir -p $pkgdir/usr/share/backgrounds
- mkdir -p $pkgdir/usr/share/pixmaps
- mkdir -p $pkgdir/usr/bin
- mkdir -p $pkgdir/boot/grub/themes
- mkdir -p $pkgdir/usr/share/icons
- mkdir -p $pkgdir/etc/skel
-
- cp -r ${srcdir}/${pkgname}/backgrounds $pkgdir/usr/share/backgrounds/${pkgname}
- cp -r ${srcdir}/${pkgname}/banners $pkgdir/usr/share/pixmaps/${pkgname}
- cp -rT ${srcdir}/${pkgname}/bin $pkgdir/usr/bin
- cp -r ${srcdir}/${pkgname}/grub-theme $pkgdir/boot/grub/themes/${pkgname}
- cp -r ${srcdir}/${pkgname}/icons $pkgdir/usr/share/icons/${pkgname}
- cp -rT ${srcdir}/${pkgname}/skel $pkgdir/etc/skel
+ mkdir -p ${pkgdir}/usr/share/backgrounds
+ cp -r ${srcdir}/${_release}/backgrounds ${pkgdir}/usr/share/backgrounds/${pkgname}
+ mkdir -p ${pkgdir}/usr/share/pixmaps
+ cp -r ${srcdir}/${_release}/banners ${pkgdir}/usr/share/pixmaps/${pkgname}
+ mkdir -p ${pkgdir}/usr/bin
+ cp -rT ${srcdir}/${_release}/bin ${pkgdir}/usr/bin
+ mkdir -p ${pkgdir}/boot/grub/themes
+ cp -r ${srcdir}/${_release}/grub-theme ${pkgdir}/boot/grub/themes/${pkgname}
+ mkdir -p ${pkgdir}/usr/share/icons
+ cp -r ${srcdir}/${_release}/icons ${pkgdir}/usr/share/icons/${pkgname}
+ mkdir -p ${pkgdir}/etc/skel
+ cp -rT ${srcdir}/${_release}/skel ${pkgdir}/etc/skel
+
+ mkdir -p ${pkgdir}/usr/share/${pkgname}
+ cp ${srcdir}/news.txt ${pkgdir}/usr/share/${pkgname}/news-${pkgver}-${pkgrel}.txt
}