[arch-commits] Commit in sound-juicer/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:22:00 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:21:59
Author: heftig
Revision: 277163
3.22.0+1+gaa54843-1
Modified:
sound-juicer/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:19:52 UTC (rev 277162)
+++ PKGBUILD 2016-09-27 20:21:59 UTC (rev 277163)
@@ -4,20 +4,31 @@
# Contributor: Ben <contrasutra at myrealbox.com>
pkgname=sound-juicer
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0+1+gaa54843
+pkgrel=1
pkgdesc="A lean and friendly audio CD extractor for GNOME"
url="https://wiki.gnome.org/Apps/SoundJuicer"
arch=(i686 x86_64)
license=(GPL)
depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero iso-codes)
-makedepends=(intltool itstool)
+makedepends=(intltool itstool gnome-common appstream-glib git)
options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('77e2b75f3f6fa82fc182ad782afe93c1be8d227979c80a7db9c5c54520d50c1a')
+_commit=aa548435df9e1eb648b10a8b3634079e6165a0e3 # master
+source=("git://git.gnome.org/sound-juicer#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 --localstatedir=/var \
--enable-compile-warnings=minimum
make
@@ -24,6 +35,6 @@
}
package() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list