From 37afadf437afb922ad88dc1f5adc1dfc96c295e6 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 1 May 2018 15:29:24 -0400 Subject: [parabola-laf]: upgrade to v0.9 --- pcr-testing/parabola-laf/PKGBUILD | 48 +++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 25 deletions(-) (limited to 'pcr-testing/parabola-laf/PKGBUILD') 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 } -- cgit v1.2.3