summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 48a591839aa..c983b2e4701 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,26 @@
# Maintainer: sg
pkgname=pacgui
-pkgver=0.8
-pkgrel=4
+pkgver=8.d511efa
+pkgrel=1
pkgdesc="System updates with a simple pacman GUI, based on Zenity"
arch=('any')
license=('GPLv3')
url="https://gitlab.com/it-me/pacgui"
install=${pkgname}.install
depends=('zenity' 'pacman-contrib')
-source=(${pkgname}.sh
- ${pkgname}.desktop
- ${pkgname}.service
- ${pkgname}.timer)
-sha256sums=('231e45317e28ff5b0cde13e4936e912f0e3620ea522b185dd0c734a468e8f6be'
- '18bb664c2365cd9335672e8bcadf89a12a6a017941e6fd133259c52b5dbf05db'
- '958385268a24ae5dee8d8e963efa0ecb9f55d4e36bb30f1c5a66bd97e24d33df'
- '893b87984d9ae8ab9409d1800f8e75fc70ebd869d1a26b37e05598d310065023')
-
+source=('git+https://gitlab.com/it-me/pacgui')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
package()
{
- install -m755 -D ${srcdir}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}.sh
- install -m644 -D ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service
- install -m644 -D ${srcdir}/${pkgname}.timer ${pkgdir}/usr/lib/systemd/user/${pkgname}.timer
- install -m644 -D ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+ install -m755 -D ${srcdir}/${pkgname}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}.sh
+ install -m644 -D ${srcdir}/${pkgname}/${pkgname}.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service
+ install -m644 -D ${srcdir}/${pkgname}/${pkgname}.timer ${pkgdir}/usr/lib/systemd/user/${pkgname}.timer
+ install -m644 -D ${srcdir}/${pkgname}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}