diff options
author | root <root@rshg054.dnsready.net> | 2013-01-05 00:38:32 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-05 00:38:32 -0800 |
commit | 2586a8c75ef351dbd1b31605644e101e92d2c280 (patch) | |
tree | 75b5ec37752d80f987f98ad0f10789ce6139d8cd /community/libmirage/PKGBUILD | |
parent | 782a0d2109c292b60e7de038df66525a81b21429 (diff) |
Sat Jan 5 00:38:32 PST 2013
Diffstat (limited to 'community/libmirage/PKGBUILD')
-rw-r--r-- | community/libmirage/PKGBUILD | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/community/libmirage/PKGBUILD b/community/libmirage/PKGBUILD index 0238a6320..e1ee19405 100644 --- a/community/libmirage/PKGBUILD +++ b/community/libmirage/PKGBUILD @@ -1,27 +1,36 @@ -# $Id: PKGBUILD 66729 2012-02-27 20:41:55Z heftig $ -# Maintainer: Mateusz Herych <heniekk@gmail.com> +# $Id: PKGBUILD 81967 2013-01-05 03:16:01Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Charles Lindsay <charles@chaoslizard.org> pkgname=libmirage -pkgver=1.5.0 +pkgver=2.0.0 pkgrel=1 pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library" -arch=('i686' 'x86_64') +arch=(i686 x86_64) url="http://cdemu.sourceforge.net/" -license=('GPL') -depends=('glib2' 'libsndfile' 'zlib') -makedepends=('bison' 'flex' 'gtk-doc') -source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2) +license=(GPL) +depends=(glib2 libsndfile zlib bzip2 shared-mime-info) +makedepends=(bison flex gtk-doc cmake gobject-introspection) options=(!libtool) -md5sums=('b60d9baa754efee6e0f6a584ec033fff') +install=libmirage.install +source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2 + soname.diff) +md5sums=('72007f3364cbf3aea782aaa1fdade238' + '72b5af3d5baf8e9b1ec6afa629373799') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr --disable-static + cd $pkgname-$pkgver + patch -Np2 -i ../soname.diff # Produce correct symlinks + mkdir build; cd build + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd $pkgname-$pkgver/build + make DESTDIR="$pkgdir" install } |