updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / atdtool / PKGBUILD
blob4124e2dad3072842c9b187fc794315661ba8b84c
1 # Maintainer: gulaghad <can6dev@gmail.com>
2 pkgname=atdtool
3 pkgver='1.1' 
4 pkgrel=1
5 pkgdesc="After the Deadline command-line tool."
6 arch=(i686 x86_64)
7 url="https://github.com/lpenz/atdtool"
8 license=('BSD')
9 depends=('python2')
10 makedepends=('txt2tags')
11 source=('https://github.com/downloads/lpenz/atdtool/atdtool_1.1.tar.gz')
12 md5sums=('8efc4a2025bc65db492ac004e3ca11a8')
14 build() {
15   cd "${srcdir}/${pkgname}_${pkgver}"
16   make
17 }  
19 package() {
20   cd "${srcdir}/${pkgname}_${pkgver}"
21   make PREFIX="$pkgdir/usr" install  
22   sed -i 's/python/python2/g' "$pkgdir/usr/bin/$pkgname"
23   mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
24   install -D -m644 "${srcdir}/${pkgname}_${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"