updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / quad / PKGBUILD
blob4ce65edb1cbad63f0ddb57705720dda753cbcdc7
1 # Maintainer: TuxSpirit<tuxspirit@archlinux.fr> 2007/12/06 22:39:00 UTC
2 # Contributor: Gaetan Legay <lenglemetz@archlinux.fr>
3 pkgname=quad
4 pkgver=1.12
5 pkgrel=1
6 pkgdesc="QUAD is a high-performance file compressor that utilizes an advanced LZ-based compression algorithm"
7 arch=(i686 x86_64)
8 license=('LGPL')
9 url="http://quad.sourceforge.net"
10 if [ "$CARCH" = "i686" ]; then
11     depends=()
12     source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}-${pkgver}-linux_i486.tar.gz)
13     md5sums=('ec8302170d6011d6905c2f558fedbf5f')
14 elif [ "$CARCH" = "x86_64" ]; then
15     depends=()
16     source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}-${pkgver}-linux_amd64.tar.gz)
17     md5sums=('bc3811bd3e7bba48450f4e59b80b77ee')
20 options=(!emptydirs)
22 build() {
23   #Program
24   install -D -m 755 ${startdir}/src/quad ${startdir}/pkg/usr/bin/quad
26   #License
27   install -D -m 644 ${startdir}/src/COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
29   #Documentations
30   install -D -m 644 ${startdir}/src/README ${startdir}/pkg/usr/share/doc/${pkgname}/README