summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e32e89b2536..4f564048708 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,35 @@
# Maintainer: Pavan Rikhi <pavan.rikhi@gmail.com>
-pkgname=lightdm-mini-greeter
-pkgver=0.3.3
+pkgname=lightdm-mini-greeter-git
+pkgver=0.3.4.r0.4244751
pkgrel=1
pkgdesc="A Minimal, Configurable, Single-User GTK3 LightDM Greeter"
arch=('i686' 'x86_64')
url="https://github.com/prikhi/lightdm-mini-greeter"
license=('GPL3')
depends=('lightdm' 'gtk3')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
backup=('etc/lightdm/lightdm-mini-greeter.conf')
-source=("https://github.com/prikhi/lightdm-mini-greeter/archive/$pkgver.zip"
+source=("${pkgname}::git+https://github.com/prikhi/lightdm-mini-greeter.git#branch=master"
"lightdm-mini-greeter.install")
-sha256sums=('3c3298d4f8589ea29e27048591861540b9c553250d990c48e815067d30add95d'
+sha256sums=('SKIP'
'5fb6e83300952950cf8936d11d20b85e9622a88f84e18c43fda2d41ebcedf857')
install="lightdm-mini-greeter.install"
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./autogen.sh
./configure --datadir=/usr/share --bindir=/usr/bin --sysconfdir=/etc
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir/" install
}