summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2019-02-22 23:18:04 +0200
committerMantas Mikulėnas2019-02-22 23:18:04 +0200
commit0b0feeed03516b4dd553632da53e61c848c5800b (patch)
treeff31c864a7502c935bad63d99368e34bdd359052
parent3394085a638423407ac5d373f4cf0542ae246046 (diff)
downloadaur-0b0feeed03516b4dd553632da53e61c848c5800b.tar.gz
bump to current Git master
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD29
2 files changed, 24 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 259573caf6d..f53ef4bc04e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = adcli
pkgdesc = Active Directory account management tool
- pkgver = 0.8.2
+ pkgver = 0.8.2.r34.g0c02753
pkgrel = 1
url = https://freedesktop.org/software/realmd/
arch = i686
@@ -8,14 +8,13 @@ pkgbase = adcli
license = GPL3
makedepends = docbook-xml
makedepends = docbook-xsl
+ makedepends = git
makedepends = intltool
makedepends = xmlto
depends = krb5
depends = openldap
- source = https://www.freedesktop.org/software/realmd/releases/adcli-0.8.2.tar.gz
- source = https://www.freedesktop.org/software/realmd/releases/adcli-0.8.2.tar.gz.sig
+ source = git+https://anongit.freedesktop.org/git/realmd/adcli.git#commit=0c027538f398b3823bedbfbf5f388ad97784a0ec
validpgpkeys = C0F67099B808FB063E2C81117BFB1108D92765AF
- sha256sums = 72f6db406e35d96de2bdc413a5ed69f28a4a735c08670c6556713c3f83921aa4
sha256sums = SKIP
pkgname = adcli
diff --git a/PKGBUILD b/PKGBUILD
index b10bffc325e..a95de0df86b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,34 @@
# Maintainer: Mantas Mikulėnas <grawity@gmail.com>
pkgname=adcli
-pkgver=0.8.2
+pkgver=0.8.2.r34.g0c02753
pkgrel=1
pkgdesc="Active Directory account management tool"
arch=(i686 x86_64)
url="https://freedesktop.org/software/realmd/"
license=(GPL3)
depends=(krb5 openldap)
-makedepends=(docbook-xml docbook-xsl intltool xmlto)
-source=("https://www.freedesktop.org/software/realmd/releases/$pkgname-$pkgver.tar.gz"
- "https://www.freedesktop.org/software/realmd/releases/$pkgname-$pkgver.tar.gz.sig")
-sha256sums=('72f6db406e35d96de2bdc413a5ed69f28a4a735c08670c6556713c3f83921aa4'
- 'SKIP')
+makedepends=(docbook-xml docbook-xsl git intltool xmlto)
+_commit=0c027538f398b3823bedbfbf5f388ad97784a0ec
+source=("git+https://anongit.freedesktop.org/git/realmd/adcli.git#commit=$_commit")
+sha256sums=('SKIP')
+#source=("https://www.freedesktop.org/software/realmd/releases/$pkgname-$pkgver.tar.gz"
+# "https://www.freedesktop.org/software/realmd/releases/$pkgname-$pkgver.tar.gz.sig")
+#sha256sums=('72f6db406e35d96de2bdc413a5ed69f28a4a735c08670c6556713c3f83921aa4'
+# 'SKIP')
validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF')
+pkgver() {
+ cd "$pkgname"
+ git describe | sed "s/-/.r/; s/-/./"
+}
+
+prepare() {
+ cd "$pkgname"
+ autoreconf -fi
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -24,7 +37,7 @@ build() {
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}