1 # Contributor: Yngve Inntjore Levinsen <yngve.inntjore.levinsen@cern.ch>
9 pkgdesc="a program for particle accelerator design and simulation with a long history, development (weekly build) version"
10 depends=('libx11' 'libxcb')
11 makedepends=('rpmextract' 'tar')
13 arch=('i686' 'x86_64')
14 license=('Mad-X:"Standard CERN copyright statement", PTC:"Covered by F. Schmidt and E. Forest", SDDS:"Specific copyright statement distributed with Mad-X"')
15 url="http://cern.ch/mad"
16 md5sums=('1456e0e3604f103a3513f372c9e3e500')
17 source=($pkgname-$pkgver.rpm::"http://frs.web.cern.ch/frs/mad-X_bin/madX-dev-${_pkgver}-Linux.rpm")
20 rpmextract.sh $pkgname-$pkgver.rpm
22 # No copyright statements available in current rpm
23 # install -d ${pkgdir}/usr/share/licenses/${pkgname}
24 # install -D -m644 usr/share/doc/${_pkgname}/License.txt ${pkgdir}/usr/share/licenses/${pkgname}
25 # install -D -m644 usr/share/apps/katepart/syntax/madx.xml ${pkgdir}/usr/share/apps/katepart/syntax/madx.xml
27 install -D -m755 usr/bin/madx_dev ${pkgdir}/usr/bin/madx_dev
28 install -D -m644 usr/lib/libmadx.a ${pkgdir}/usr/lib/libmadx.a
29 cp -r usr/include/madX ${pkgdir}/usr/include/