summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-04 08:55:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-04 08:55:24 +0000
commitb1182b333ef06b3cb488082491ffc02c7785d9c1 (patch)
tree4f17cb6e7ed3722df0d3510a4093a7f7d731a62c
parent99b63b73c9ef7cfdd5bf88735f353eda17c873ea (diff)
downloadaports-b1182b333ef06b3cb488082491ffc02c7785d9c1.tar.bz2
aports-b1182b333ef06b3cb488082491ffc02c7785d9c1.tar.xz
main/xfce4-mixer: remove post- scripts since we use triggers nowdays
also update download link to sources
-rw-r--r--main/xfce4-mixer/APKBUILD20
l---------main/xfce4-mixer/xfce4-mixer.post-deinstall1
-rw-r--r--main/xfce4-mixer/xfce4-mixer.post-install4
l---------main/xfce4-mixer/xfce4-mixer.post-upgrade1
4 files changed, 10 insertions, 16 deletions
diff --git a/main/xfce4-mixer/APKBUILD b/main/xfce4-mixer/APKBUILD
index b68c6fa1e..c27b254ce 100644
--- a/main/xfce4-mixer/APKBUILD
+++ b/main/xfce4-mixer/APKBUILD
@@ -1,19 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-mixer
pkgver=4.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="The volume control plugin for the Xfce panel"
url="http://www.xfce.org/"
license="GPL2"
depends="hicolor-icon-theme"
makedepends="pkgconfig xfce4-panel-dev gstreamer-dev intltool
gst-plugins-base-dev expat-dev libsm-dev e2fsprogs-dev"
-install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2
- $install"
+install=
+source="http://archive.xfce.org/src/apps/xfce4-mixer/4.6/xfce4-mixer-$pkgver.tar.bz2
+ "
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -22,9 +21,10 @@ build ()
--disable-static \
--with-sound=alsa || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="a99e2455445480ef5081fe69454a46fc xfce4-mixer-4.6.1.tar.bz2
-db51db79681eadc47be4932355a77c25 xfce4-mixer.post-install
-db51db79681eadc47be4932355a77c25 xfce4-mixer.post-upgrade
-db51db79681eadc47be4932355a77c25 xfce4-mixer.post-deinstall"
+md5sums="a99e2455445480ef5081fe69454a46fc xfce4-mixer-4.6.1.tar.bz2"
diff --git a/main/xfce4-mixer/xfce4-mixer.post-deinstall b/main/xfce4-mixer/xfce4-mixer.post-deinstall
deleted file mode 120000
index 59bfac9d7..000000000
--- a/main/xfce4-mixer/xfce4-mixer.post-deinstall
+++ /dev/null
@@ -1 +0,0 @@
-xfce4-mixer.post-install \ No newline at end of file
diff --git a/main/xfce4-mixer/xfce4-mixer.post-install b/main/xfce4-mixer/xfce4-mixer.post-install
deleted file mode 100644
index c523d78da..000000000
--- a/main/xfce4-mixer/xfce4-mixer.post-install
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-
diff --git a/main/xfce4-mixer/xfce4-mixer.post-upgrade b/main/xfce4-mixer/xfce4-mixer.post-upgrade
deleted file mode 120000
index 59bfac9d7..000000000
--- a/main/xfce4-mixer/xfce4-mixer.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-xfce4-mixer.post-install \ No newline at end of file