summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavan Rikhi2018-11-02 10:32:54 -0400
committerPavan Rikhi2018-11-02 10:32:54 -0400
commitd84758df104a5b4eea6d8ed4319fc70359fb5c03 (patch)
treec6d68e2f9e00410b3d5c0ecf8dad0a72979be26a
parentac046ae7acdf27c69cdc23f11966f41e01c40c07 (diff)
downloadaur-lightdm-mini-greeter-git.tar.gz
Fork From lightdm-mini-greeter AUR Package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 23 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f174fa2acc7..e6d6f29850b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,24 @@
# Generated by mksrcinfo v8
-# Thu Nov 1 23:08:36 UTC 2018
-pkgbase = lightdm-mini-greeter
+# Fri Nov 2 14:32:15 UTC 2018
+pkgbase = lightdm-mini-greeter-git
pkgdesc = A Minimal, Configurable, Single-User GTK3 LightDM Greeter
- pkgver = 0.3.3
+ pkgver = 0.3.4.r0.4244751
pkgrel = 1
url = https://github.com/prikhi/lightdm-mini-greeter
install = lightdm-mini-greeter.install
arch = i686
arch = x86_64
license = GPL3
+ makedepends = git
depends = lightdm
depends = gtk3
+ provides = lightdm-mini-greeter
+ conflicts = lightdm-mini-greeter
backup = etc/lightdm/lightdm-mini-greeter.conf
- source = https://github.com/prikhi/lightdm-mini-greeter/archive/0.3.3.zip
+ source = lightdm-mini-greeter-git::git+https://github.com/prikhi/lightdm-mini-greeter.git#branch=master
source = lightdm-mini-greeter.install
- sha256sums = 3c3298d4f8589ea29e27048591861540b9c553250d990c48e815067d30add95d
+ sha256sums = SKIP
sha256sums = 5fb6e83300952950cf8936d11d20b85e9622a88f84e18c43fda2d41ebcedf857
-pkgname = lightdm-mini-greeter
+pkgname = lightdm-mini-greeter-git
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
}