Commit 18376a9b authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/cdparanoia: cleanup dev package

parent a1bdbdd5
......@@ -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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment