diff options
author | Vincent Grande | 2021-01-12 21:11:05 -0500 |
---|---|---|
committer | Vincent Grande | 2021-01-12 21:11:05 -0500 |
commit | 73aab6401d9fdf08e2c225ca22221885ae1ccbe7 (patch) | |
tree | f824baf8c2f20fd77b6ffc4854c076f0682f5d3c /PKGBUILD | |
parent | 1d78000db3633e46cd9d148494d5f0296c00b761 (diff) | |
download | aur-libmikmod-git.tar.gz |
big fixes
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -15,26 +15,19 @@ depends=(glibc libpulse sh) makedepends=(alsa-lib cmake) provides=(libmikmod.so libmikmod) conflicts=(libmikmod) -source=(git://git.code.sf.net/p/mikmod/mikmod.git - cmake-man.diff) -sha256sums=('SKIP' - 'SKIP') +source=(git://git.code.sf.net/p/mikmod/mikmod.git) +sha256sums=('SKIP') pkgver() { cd mikmod git describe --tags | sed 's/-/+/g' } -prepare() { - cd mikmod - patch -Np1 -i ../cmake-man.diff -} - build() { # cmake ignores CPPFLAGS CFLAGS+=" $CPPFLAGS" - cmake -H$mikmod -Bbuild \ + cmake -Hmikmod/libmikmod -Bbuild \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_DL=1 cmake --build build @@ -42,12 +35,6 @@ build() { package() { DESTDIR="$pkgdir" cmake --build build --target install - - install -Dt "$pkgdir/usr/share/aclocal" -m644 libmikmod/libmikmod.m4 - install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 \ - libmikmod/{NEWS,README,TODO} build/docs/mikmod.html - install -Dt "$pkgdir/usr/share/info" build/docs/mikmod.info - install -Dt "$pkgdir/usr/share/man/man1" build/docs/libmikmod-config.1 } # vim: ts=2 sw=2 et: |