summaryrefslogtreecommitdiff
path: root/pcr-testing
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing')
-rw-r--r--pcr-testing/parabola-laf/PKGBUILD48
-rw-r--r--pcr-testing/parabola-laf/news.txt0
2 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
}
diff --git a/pcr-testing/parabola-laf/news.txt b/pcr-testing/parabola-laf/news.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/pcr-testing/parabola-laf/news.txt