summaryrefslogtreecommitdiffstats
path: root/main/freeswitch-sounds-music-8000
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-02 06:59:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-02 07:28:56 +0000
commitf43bc41424ac0f0cbcca4751b57072590fe1e57d (patch)
tree50888198b585eab4e8c98d21e2189f8b2227737b /main/freeswitch-sounds-music-8000
parent6573fe89eb3413c452890e0f0bbcd23da04eed63 (diff)
downloadaports-f43bc41424ac0f0cbcca4751b57072590fe1e57d.tar.bz2
aports-f43bc41424ac0f0cbcca4751b57072590fe1e57d.tar.xz
main/freeswitch-sounds-music-8000: move sounds to /usr/share (ref #1395)
Diffstat (limited to 'main/freeswitch-sounds-music-8000')
-rw-r--r--main/freeswitch-sounds-music-8000/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/freeswitch-sounds-music-8000/APKBUILD b/main/freeswitch-sounds-music-8000/APKBUILD
index 7f57a5bf6..72008519d 100644
--- a/main/freeswitch-sounds-music-8000/APKBUILD
+++ b/main/freeswitch-sounds-music-8000/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freeswitch-sounds-music-8000
pkgver=1.0.8
-pkgrel=0
+pkgrel=1
pkgdesc="Music for freeswitch"
url="http://files.freeswitch.org/"
arch="noarch"
@@ -13,15 +13,16 @@ subpackages=
source="http://files.freeswitch.org/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+_sounds=/usr/share/freeswitch/sounds
build() {
return 0
}
package() {
- mkdir -p "$pkgdir"/usr/sounds/
- cp -ra "$srcdir"/music "$pkgdir"/usr/sounds
- chown -R root:root "$pkgdir"/usr/sounds
+ mkdir -p "$pkgdir"/$_sounds/
+ cp -ra "$srcdir"/music "$pkgdir"/$_sounds
+ chown -R root:root "$pkgdir"/$_sounds
}
md5sums="f63ef3cc3507af079ae5c7b8b8a01e42 freeswitch-sounds-music-8000-1.0.8.tar.gz"