aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/cdparanoia/APKBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/testing/cdparanoia/APKBUILD b/testing/cdparanoia/APKBUILD
index 8cf900742a..08b53a5f53 100644
--- a/testing/cdparanoia/APKBUILD
+++ b/testing/cdparanoia/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=cdparanoia
pkgver=10.2
-pkgrel=2
+pkgrel=3
pkgdesc="An audio CD extraction application"
url="http://www.xiph.org/paranoia"
arch="x86 x86_64"
@@ -35,25 +35,26 @@ build() {
package() {
cd "$srcdir/$pkgname-III-$pkgver"
- install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/cdparanoia "$pkgdir"/usr/bin/cdparanoia
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.a "$pkgdir"/usr/lib/libcdda_interface.a
- install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver"
- install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_paranoia.so.0."$pkgver"
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0 "$pkgdir"/usr/lib/libcdda_interface.so.0
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so "$pkgdir"/usr/lib/libcdda_interface.so
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so.0 "$pkgdir"/usr/lib/libcdda_paranoia.so.0
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/libcdda_paranoia.so "$pkgdir"/usr/lib/libcdda_paranoia.so
-
+ install -m755 -D cdparanoia "$pkgdir"/usr/bin/cdparanoia
+ install -m755 -D interface/libcdda_interface.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver"
+ install -m755 -D paranoia/libcdda_paranoia.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_paranoia.so.0."$pkgver"
+
+ ln -s libcdda_interface.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_interface.so.0
+ ln -s libcdda_interface.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_interface.so
+ ln -s libcdda_paranoia.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_paranoia.so.0
+ ln -s libcdda_paranoia.so.0."$pkgver" \
+ "$pkgdir"/usr/lib/libcdda_paranoia.so
+
+ install -m644 -D interface/cdda_interface.h \
+ "$pkgdir"/usr/include/cdda_interface.h
+ install -m644 -D paranoia/cdda_paranoia.h \
+ "$pkgdir"-dev/usr/include/cdda_paranoia.h
}
-dev () {
- install=""
- mkdir pkg-dev
- cd "$srcdir/$pkgname-III-$pkgver"
-
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/cdda_interface.h "$pkgdir"-dev/usr/include/cdda_interface.h
- install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/paranoia/cdda_paranoia.h "$pkgdir"-dev/usr/include/cdda_paranoia.h
-
-}
md5sums="b304bbe8ab63373924a744eac9ebc652 cdparanoia-III-10.2.src.tgz"