summaryrefslogtreecommitdiff
path: root/community/mp3info/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mp3info/PKGBUILD')
-rw-r--r--community/mp3info/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/mp3info/PKGBUILD b/community/mp3info/PKGBUILD
new file mode 100644
index 000000000..e661e929c
--- /dev/null
+++ b/community/mp3info/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 66241 2012-02-23 05:14:32Z spupykin $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
+
+pkgname=mp3info
+pkgver=0.8.5a
+pkgrel=4
+pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor"
+arch=('i686' 'x86_64')
+url="http://ibiblio.org/mp3info/"
+license=('GPL')
+depends=('ncurses' 'gtk2' )
+source=(http://ibiblio.org/pub/linux/apps/sound/mp3-utils/$pkgname/$pkgname-$pkgver.tgz)
+md5sums=('cb7b619a10a40aaac2113b87bb2b2ea2')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+ sed -i "s:/usr/bin/install:/bin/install:" Makefile
+
+ make
+
+ install -d ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1
+ make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man/man1 install
+}