updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / libhildonthumbnail0-wz / PKGBUILD
bloba482213666dc37b43213a60e036d9549144983c9
1 # Contributor: Wean Chan <weanwz@gmail.com>
2 pkgname=libhildonthumbnail0-wz
3 pkgver=0.14
4 pkgrel=4
5 pkgdesc="lib for pplive"
6 url="http://ftp.tw.debian.org/debian/pool/main/libh/libhildon/"
7 arch=('i686' 'x86_64')
8 license=('BSD')
10 if [ "${CARCH}" = 'x86_64' ]; then
11   source=(http://ftp.tw.debian.org/debian/pool/main/h/hildon-thumbnail/libhildonthumbnail0_${pkgver}-1_amd64.deb)
12   md5sums=("1ce63b165f9e5ef4954c296c61d6c32b")
13 elif  [ "${CARCH}" = 'i686' ]; then 
14   source=(http://ftp.tw.debian.org/debian/pool/main/h/hildon-thumbnail/libhildonthumbnail0_${pkgver}-1_i386.deb)
15   md5sums=("cc97ab5ba74e06965c35e5271dec1485")
18 build() {
19     cd $srcdir
20 if [ "${CARCH}" = 'x86_64' ]; then
21     bsdtar xf "libhildonthumbnail0_${pkgver}-1_amd64.deb" || return 1
22 elif  [ "${CARCH}" = 'i686' ]; then 
23     bsdtar xf "libhildonthumbnail0_${pkgver}-1_i386.deb" || return 1
25     bsdtar xf data.tar.gz -C $pkgdir || return 1