updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / geant3 / PKGBUILD
blob7438253d11f2c4b73ad652a40eebd6602d68e041
1 # Contributor: T.Cunly
3 pkgname=geant3
4 pkgver=21_2006_3
5 pkgrel=1
6 pkgdesc="Detector Description and Simulation Tool"
7 arch=('x86_64')
8 url="http://wwwasd.web.cern.ch/wwwasd/geant"
9 license=('GPL')
11 depend=(rpmextract cernlib)
12 URLROOT=http://ftp.heanet.ie/pub/fedora/linux/releases/11/Everything/x86_64/os/Packages
14 source=($URLROOT/geant321-2006-32.fc11.x86_64.rpm $URLROOT/geant321-g77-2006-32.fc11.x86_64.rpm )
15 md5sums=('4bec9f85fb87e6f379802409bb7c804e' 'c47ff18ce6d2659c064d2975cefd7e87')
17 build() {
18         rm $startdir/*.pkg.*
19         rm -r $srcdir/etc $srcdir/usr
20         cd "$srcdir"
21         
22         file=`ls`
23         
24         for i in $file
25         do
26                 rpmextract.sh $i
27         done
28         
29         cd "$srcdir"
30         mv usr $pkgdir/