updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / nerolinux / PKGBUILD
blob5b2e64e1850cfddc83977c1e72d567bd5810a09e
1 # Maintainer: yugrotavele <yugrotavele at archlinux dot us>
3 pkgname=nerolinux
4 pkgver=4.0.0.0
5 _subver=b
6 pkgrel=4
7 pkgdesc="Nero Burning ROM for linux"
8 url="http://www.nero.com/eng/linux4.html"
9 license=('custom')
10 depends=('gtk2')
11 makedepends=('rpmextract')
12 arch=('i686' 'x86_64')
13 source=(http://dl.dropbox.com/u/979844/$pkgname-$pkgver$_subver-x86.rpm)
14 md5sums=('f49f49c588729c2afdbecb546d9b6041')
15 install=nerolinux.install
17 [ "$CARCH" = "x86_64" ] && source=(http://dl.dropbox.com/u/979844/$pkgname-$pkgver$_subver-x86_64.rpm)
18 [ "$CARCH" = "x86_64" ] && md5sums=('f5b307c37e5623231e0a042ee43e018c')
20 package() {
21   cd "$pkgdir"
23     if [ "$CARCH" = "x86_64" ]; then
24         rpmextract.sh $srcdir/$pkgname-$pkgver$_subver-x86_64.rpm
25     else
26         rpmextract.sh $srcdir/$pkgname-$pkgver$_subver-x86.rpm
27     fi
29     chmod a+rx -R *
30     find . -type f -exec chmod -x \{\} \;
31     chmod +x usr/bin/{nero,nerocmd,neroexpress}
33     mkdir -p usr/share/licenses/nerolinux
34     mv usr/share/doc/nero/EULA* usr/share/licenses/nerolinux