summaryrefslogtreecommitdiff
path: root/community/mcdp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-10 23:14:36 +0000
commitcbcf42aba84733e1b9072f5320519c99bf8c0ac7 (patch)
treea329670cb53aabe42cc50ef6cda1e534d4dfbabf /community/mcdp
parent8e372cc6207b56516c1facdaeb92d15c4716d8a2 (diff)
Mon Oct 10 23:14:36 UTC 2011
Diffstat (limited to 'community/mcdp')
-rw-r--r--community/mcdp/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/community/mcdp/PKGBUILD b/community/mcdp/PKGBUILD
index e7b0d5a37..ffba24072 100644
--- a/community/mcdp/PKGBUILD
+++ b/community/mcdp/PKGBUILD
@@ -1,22 +1,28 @@
-# $Id: PKGBUILD 5260 2009-11-07 12:48:21Z ibiru $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Tino Reichardt <milky-archlinux@mcmilk.de>
+# $Id: PKGBUILD 56613 2011-10-09 07:12:22Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Tino Reichardt <milky-archlinux@mcmilk.de>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=mcdp
-pkgver=0.4a
-pkgrel=3
-pkgdesc="small console cd player"
+pkgver=0.4b
+pkgrel=1
+pkgdesc="Small console cd player"
arch=('i686' 'x86_64')
url="http://www.mcmilk.de/projects/mcdp/"
-license=("GPL")
+license=('GPL')
makedepends=('dietlibc')
-source=(http://www.mcmilk.de/projects/mcdp/dl/$pkgname-$pkgver.tar.bz2)
-md5sums=('d52c32df83161b46f451018aeddad0ed')
+source=(http://www.mcmilk.de/projects/$pkgname/dl/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('0faa031b07299b0fb2353306a669328c877717e1bc7e274e40c3d2612e103cab')
build() {
- cd $startdir/src/$pkgname-$pkgver
- make mcdp
- mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/share/man/man1
- cp mcdp $startdir/pkg/usr/bin
- cp mcdp.1 $startdir/pkg/usr/share/man/man1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make $pkgname
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ install -Dm755 $pkgname ${pkgdir}/usr/bin/$pkgname
+ install -Dm644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
}