PKGBUILDs/extra/orc/PKGBUILD

42 lines
920 B
Bash
Raw Normal View History

2014-09-19 19:02:59 +00:00
# $Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop valgrind makedepend
pkgname=orc
2016-03-08 13:15:05 +00:00
pkgver=0.4.25
2016-06-18 17:53:53 +00:00
pkgrel=2
2015-09-24 01:04:00 +00:00
pkgdesc="The Oil Runtime Compiler"
2014-09-19 19:02:59 +00:00
arch=('i686' 'x86_64')
license=('custom')
2016-06-18 17:53:53 +00:00
url="https://gstreamer.freedesktop.org/projects/orc.html"
2014-09-19 19:02:59 +00:00
depends=('glibc')
2016-06-18 17:53:53 +00:00
source=(http://gstreamer.freedesktop.org/data/src/orc/orc-${pkgver}.tar.xz
fix-tests.patch)
md5sums=('8582a28b15f53110c88d8043d9f55bcf'
'0443f38fa7518a5d7de6c055a98365b7')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../fix-tests.patch
}
2014-09-19 19:02:59 +00:00
build () {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
2014-09-19 19:02:59 +00:00
}
check() {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
make check
2014-09-19 19:02:59 +00:00
}
package() {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
2014-09-19 19:02:59 +00:00
}