updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / destroytwitter / PKGBUILD
blob9e0abfb7e4efbfb7f4d7d905da62c05ba4d61a8a
1 # Maintainer syne <madlikene@aim.com>
2 # Contributor ndowens <ndowens04@gmail.com>
4 pkgname=destroytwitter
5 pkgver=2.1.5
6 _pkgver=215p2
7 pkgrel=1
8 pkgdesc="DestroyTwitter is a powerful and lightweight Adobe AIR Twitter client"
9 arch=('i686' 'x86_64')
10 url="https://destroytwitter.com/"
11 license=('unknown')
12 [ $CARCH == i686 ] && depends=('adobe-air')
13 [ $CARCH == x86_64 ] && depends=('bin32-adobe-air')
14 makedepends=('unzip')
15 source=(http://destroytoday.com/destroytwitter/releases/prerelease/DestroyTwitter$_pkgver.zip $pkgname.sh $pkgname.desktop)
16 md5sums=('b945c2cae25e8a8e7bb8cf185fab49ea'
17          'dcb87ce3ed851e9ef8664c67eaaf11e4'
18          '22cfe479116266e2d739b0427883ca85')
22 build()
24    cd ${srcdir}
25    install -d ${pkgdir}/{opt/$pkgname,usr/{bin,share/{applications,pixmaps/$pkgname}}}   
26    unzip -o DestroyTwitter$_pkgver.zip
27    unzip DestroyTwitter$_pkgver/DestroyTwitter$_pkgver.air 
29    install DestroyTwitter$_pkgver/DestroyTwitter$_pkgver.air ${pkgdir}/opt/${pkgname}/destroytwitter.air
30     install icons/128.png ${pkgdir}/usr/share/pixmaps/${pkgname}/
31    install destroytwitter.desktop ${pkgdir}/usr/share/applications/
32 install -m755 $pkgname.sh ${pkgdir}/usr/bin/${pkgname}