~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

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

Details
Message ID
<1435938885-19398-1-git-send-email-alacerda@alpinelinux.org>
Sender timestamp
1435938885
DKIM signature
missing
Download raw message
Patch: +4 -10
---
 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
---
Reply to thread Export thread (mbox)