Date: Tuesday, September 27, 2016 @ 20:28:08 Author: heftig Revision: 277168
3.22.0+3+gb7a9243-1 Modified: gnome-disk-utility/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-27 20:26:20 UTC (rev 277167) +++ PKGBUILD 2016-09-27 20:28:08 UTC (rev 277168) @@ -4,21 +4,31 @@ # Contributor: Silvio Knizek (killermoehre) pkgname=gnome-disk-utility -pkgver=3.20.2 +pkgver=3.22.0+3+gb7a9243 pkgrel=1 pkgdesc="Disk Management Utility for GNOME" -url="https://www.gnome.org/" +url="https://git.gnome.org/browse/gnome-disk-utility" arch=(i686 x86_64) license=(GPL) groups=(gnome) depends=(udisks2 gtk3 libsecret libpwquality libcanberra libdvdread libnotify parted) -makedepends=(intltool docbook-xsl gnome-settings-daemon) -options=('!emptydirs') -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('ad12ae0f3a2ae9c690ca799dd1f690a8eb238575e0fd8f328b66a96eb9bf2c3d') +makedepends=(intltool docbook-xsl gnome-settings-daemon autoconf-archive appstream-glib git) +_commit=b7a9243c50019fd658c905a87d0527e64af4449a # master +source=("git://git.gnome.org/gnome-disk-utility#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make @@ -25,11 +35,11 @@ } check() { - cd $pkgname-$pkgver + cd $pkgname make check } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" make DESTDIR="$pkgdir" install }