~alpine/devel

testing/freeswitch-sounds-pt-br-karina-8000: fixing srcdir path v1 PROPOSED

Alan Lacerda: 1
 testing/freeswitch-sounds-pt-br-karina-8000: fixing srcdir path

 1 files changed, 4 insertions(+), 10 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/965/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] testing/freeswitch-sounds-pt-br-karina-8000: fixing srcdir path Export this patch

---
 testing/freeswitch-sounds-pt-br-karina-8000/APKBUILD | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/testing/freeswitch-sounds-pt-br-karina-8000/APKBUILD b/testing/freeswitch-sounds-pt-br-karina-8000/APKBUILD
index ce7a908..b05f144 100644
--- a/testing/freeswitch-sounds-pt-br-karina-8000/APKBUILD
+++ b/testing/freeswitch-sounds-pt-br-karina-8000/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=freeswitch-sounds-pt-BR-karina-8000
pkgver=1.0.51
pkgrel=0
pkgrel=1
pkgdesc="Sounds for freeswitch Brazilian Portuguese"
url="http://files.freeswitch.org/"
arch="noarch"
@@ -17,19 +17,13 @@ source="http://files.freeswitch.org/releases/sounds/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
_sounds=/usr/share/freeswitch/sounds

prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
              case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
               esac
        done
build() {
        return 0
}

package() {
       mkdir -p "$pkgdir"/$_sounds/
       cp -ra "$srcdir"/en "$pkgdir"/$_sounds
       cp -ra "$srcdir"/pt "$pkgdir"/$_sounds
       chown -R root:root "$pkgdir"/$_sounds
}

-- 
2.4.4



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---