updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / mtdev-ubuntu / PKGBUILD
blobaf5db840c7d94f801dd43d8b01317e401eb03964
1 pkgname=mtdev-ubuntu
2 pkgver=1.1.0
3 _ubuntu_ver=2ubuntu1
4 pkgrel=1
5 pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
6 arch=(i686 x86_64)
7 url="http://bitmath.org/code/mtdev/"
8 license=('GPL')
9 depends=('glibc')
10 provides=('mtdev')
11 conflicts=('mtdev')
12 options=('!libtool')
13 source=("${url}${pkgname%-*}-${pkgver}.tar.bz2"
14         "http://archive.ubuntu.com/ubuntu/pool/main/m/mtdev/mtdev_${pkgver}-${_ubuntu_ver}.debian.tar.gz")
15 sha512sums=('e46c1cdd0543544fd75b0cf7a474ecc06716c5c0f6021027664d7de7343b0bde987358be3744bfe1e95154b4e2b96471277d153e6655a81d2658579d783fae38'
16             '239a275c8756bb7c5fd68f0dddc13e27280e1446059987943a16389f96b6dbc34083714cc92ed31fe49726f3d73ac513eadf0f29abf6b29b447006e64395b9c3')
18 build() {
19   cd "${srcdir}/${pkgname%-*}-${pkgver}"
21   for i in $(cat "${srcdir}/debian/patches/series" | grep -Ev '#'); do
22     patch -Np1 -i "${srcdir}/debian/patches/${i}"
23   done
25   ./configure --prefix=/usr
26   make
29 package() {
30   cd "${srcdir}/${pkgname%-*}-${pkgver}"
32   make DESTDIR="${pkgdir}/" install
35 # vim:set ts=2 sw=2 et: