[arch-commits] Commit in instead/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Apr 24 14:29:30 UTC 2017
Date: Monday, April 24, 2017 @ 14:29:29
Author: spupykin
Revision: 225149
upgpkg: instead 3.0.0-1
upd
Modified:
instead/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-24 14:20:58 UTC (rev 225148)
+++ PKGBUILD 2017-04-24 14:29:29 UTC (rev 225149)
@@ -3,26 +3,33 @@
# Contributor: Peter Kosyh <p.kosyhgmail.com>
pkgname=instead
-pkgver=2.4.1
+pkgver=3.0.0
pkgrel=1
pkgdesc="a quest interpreter"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/instead/"
license=('GPL')
-depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua')
+depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua' 'gtk2')
+makedepends=('cmake')
optdepends=('instead-launcher: install and update INSTEAD games from net')
source=(http://downloads.sourceforge.net/project/instead/instead/${pkgver}/instead_${pkgver}.tar.gz)
-md5sums=('e095fc2ac6d05757b58baf5043d3058c')
+sha256sums=('bc5481670f7f078bab9f92954ad8b75280b2393c3e8391a6e2be99d1cb5a4c93')
build() {
- cd "${srcdir}/instead-${pkgver}"
- echo "2" | ./configure.sh
- make PREFIX=/usr
+ cd "${srcdir}"
+ mkdir -p build
+ cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ "${srcdir}"/$pkgname-$pkgver
+ make
}
package() {
- cd "${srcdir}/instead-${pkgver}"
+ cd "${srcdir}/build"
make DESTDIR="${pkgdir}" PREFIX=/usr install
+ cd "${srcdir}"/$pkgname-$pkgver
cp -a doc/*.{html,pdf} doc/instead.txt doc/examples "$pkgdir"/usr/share/doc/instead/
}
More information about the arch-commits
mailing list