1 # Maintainer: dryes <joswiseman@gmail>
5 pkgdesc='Awescript is a handy little script for tidying your RARs.'
6 url='http://x264.rescene.com/awescript/'
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')
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'
20 install -D -m755 "${srcdir}/awescript.py" "${pkgdir}/usr/bin/awescript"