updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / awescript / PKGBUILD
blob632de2e0ae5e945ffdf0ebbc8a039fc4188c6cf5
1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='awescript'
3 pkgver=1.0
4 pkgrel=2
5 pkgdesc='Awescript is a handy little script for tidying your RARs.'
6 url='http://x264.rescene.com/awescript/'
7 arch=('any')
8 license=('Custom')
9 depends=('python' 'rescene-bin' 'resample-bin')
10 makedepends=('unrar' 'dos2unix')
11 source=('http://x264.rescene.com/awescript/awescript_src.rar')
12 noextract=('awescript_src.rar')
13 md5sums=('16f387f738d180f558b68811c4370534')
15 package() {
16   unrar e 'awescript_src.rar' 'awescript.py' -o+ -p-
17   sed -i -r 's|mono /usr/local/bin/sr([rs])\.exe|sr\1|ig' 'awescript.py'
18   dos2unix 'awescript.py'
19         
20   install -D -m755 "${srcdir}/awescript.py" "${pkgdir}/usr/bin/awescript"