summaryrefslogtreecommitdiff
path: root/community/volumeicon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/volumeicon/PKGBUILD')
-rw-r--r--community/volumeicon/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/community/volumeicon/PKGBUILD b/community/volumeicon/PKGBUILD
index 2e09342b3..f52222c64 100644
--- a/community/volumeicon/PKGBUILD
+++ b/community/volumeicon/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 108393 2014-03-27 13:24:26Z arodseth $
+# $Id: PKGBUILD 113124 2014-06-13 21:48:36Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Maato <maato softwarebakery com>
@@ -8,26 +8,33 @@
pkgname=volumeicon
pkgver=0.5.0
-pkgrel=2
+pkgrel=3
pkgdesc='Volume control for your system tray'
arch=('x86_64' 'i686')
url='http://softwarebakery.com/maato/volumeicon.html'
license=('GPL3')
depends=('gtk3' 'alsa-lib' 'libnotify')
-makedepends=('intltool')
-source=("http://softwarebakery.com/maato/files/volumeicon/$pkgname-$pkgver.tar.gz")
-sha256sums=('e5f1179f9ec5ab25e3740e4f6bbe0baa75368f0ae87d370197b3fbefb61bd782')
+makedepends=('intltool' 'git')
+source=('git://github.com/Maato/volumeicon.git#commit=9e3755fdbe')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ head -1 ChangeLog | cut -d: -f1
+}
prepare() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
- aclocal
- autoconf
- automake --add-missing
+ #aclocal
+ #autoconf
+ #automake --add-missing
+ ./autogen.sh
}
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./configure \
--prefix=/usr \
@@ -36,7 +43,7 @@ build() {
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ make -C "$pkgname" DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: