updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / agnclient / PKGBUILD
blob182c88bef169faab904db04753b75f8a6365da29
1 # PKGBUILD by yhager@yhager.com
2 # Based on the work of Dario Bazzichetto (published in http://attnetclient.com/forum/viewtopic.php?f=12&t=1017&start=0)
3 pkgname=agnclient
4 pkgver=1.0_2.0.1
5 _buildver=3003
6 pkgrel=7
7 pkgdesc='AT&T Global Network client'
8 arch=('i686')
9 _arch=i386
10 license=('custom')
11 url="http://attnetclient.com"
12 source=("ftp://ftp.attglobal.net/pub/custom/ibm_linux/${pkgname}-${pkgver//_/-}.${_buildver}.${_arch}.rpm" 'agnclientd' 'agnLogd' 'agncli')
13 sha1sums=('d08eb03d6ca6089eed55f5ef9ad27814d84f1cb3'
14           'b9adae784f085570fc2c92f8919b250bc6659b2a'
15           '698e9476e640a45b79579a03817a90d20d4b0249'
16           'e7dc0a8e37e97374aed0a576bc06f50ea131323b')
18 depend=('openssl')
19 makedepends=('libarchive')
20 install=agnclient.install
22 build() {
23   cd ${pkgdir}
24   bsdcpio -id < ${srcdir}/${pkgname}-${pkgver//_/-}.${_buildver}.${_arch}.rpm
25   rm -r etc/rc.d/init.d
26   cp ${srcdir}/agnclientd ${srcdir}/agnLogd etc/rc.d/.
27   install -D ${srcdir}/agncli usr/bin/agncli