diff options
author | David P <megver83@parabola.nu> | 2017-06-01 13:37:57 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2017-06-01 13:37:57 -0400 |
commit | fd56a8b8039233ddfbc1febf047641c7c3a2d2ec (patch) | |
tree | 66098bee7c52b7eeb8605e0f4da3b32934e5d125 | |
parent | 897a9554cc64a00a3d08f9000da0bf18c46a898d (diff) | |
parent | 13865e2c11339e6ce488f0a4eb60330b269c7296 (diff) | |
download | abslibre-fd56a8b8039233ddfbc1febf047641c7c3a2d2ec.tar.gz abslibre-fd56a8b8039233ddfbc1febf047641c7c3a2d2ec.tar.bz2 abslibre-fd56a8b8039233ddfbc1febf047641c7c3a2d2ec.zip |
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
-rw-r--r-- | pcr/stormlib/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/stormlib/PKGBUILD b/pcr/stormlib/PKGBUILD new file mode 100644 index 000000000..f8d11c791 --- /dev/null +++ b/pcr/stormlib/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Andreas Grapentin <andreas@grapentin.org> +# Maintainer (AUR): Jerome Leclanche <jerome@leclan.ch> + +_pkgname=StormLib +pkgname=${_pkgname,,} +pkgver=9.20 +pkgrel=1.parabola1 +pkgdesc="A C/C++ API to read and write MPQ files with support for merged archives, patch MPQs and more." +arch=("i686" "x86_64" "armv7h") +url="http://www.zezula.net/en/mpq/stormlib.html" +license=("MIT") +depends=("bzip2" "zlib") +makedepends=("cmake") +source=("$_pkgname-$pkgver.tar.gz::https://github.com/ladislav-zezula/$_pkgname/archive/v$pkgver.tar.gz") +sha256sums=('fdfc7d0b444cd5d540c5732155a7c5011c573e90029947198f651aec93db4887') + + +build() { + mkdir -p build + cd build + cmake "$srcdir/$_pkgname-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |