[arch-commits] Commit in clasp/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Jun 5 12:08:53 UTC 2017
Date: Monday, June 5, 2017 @ 12:08:52
Author: arodseth
Revision: 234167
upgpkg: clasp 3.3.0-1
Modified:
clasp/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-05 09:53:19 UTC (rev 234166)
+++ PKGBUILD 2017-06-05 12:08:52 UTC (rev 234167)
@@ -3,27 +3,27 @@
# Contributor: Vincent Bernardoff <vb at luminar.eu.org>
pkgname=clasp
-pkgver=3.2.1
+pkgver=3.3.0
pkgrel=1
pkgdesc='Answer set solver'
arch=('x86_64' 'i686')
url='https://potassco.org/'
license=('GPL3')
-depends=('gcc-libs')
-source=("$pkgname-$pkgver.tgz::https://github.com/potassco/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('987513ffa84f885d7fcf94f0edb2ef25c8b5730553513120699a4820c9bc42f7')
+makedepends=('cmake' 'ninja')
+source=("https://github.com/potassco/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('74ba1b75823c1401d254020fb8954e5ac2bc04a56d624abaee6519f95be78f48')
build() {
- cd "$pkgname-$pkgver"
-
- ./configure.sh --with-mt=std --prefix=/usr
- make -C build/release_mt
+ mkdir -p build
+ cd build
+ cmake "../$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -G Ninja
+ ninja
}
package() {
- install -D \
- "$pkgname-$pkgver/build/release_mt/bin/$pkgname" \
- "$pkgdir/usr/bin/$pkgname"
+ DESTDIR="$pkgdir" ninja -C build install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list