summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrestis Floros2021-01-02 18:06:31 +0100
committerOrestis Floros2021-01-02 18:07:43 +0100
commitf7fe7996526cf37b959c6a2d73fcd7145f7c1e5f (patch)
tree386a720fd9ea7272f175a4978c9b487012319789
parentab4e524a1f4152215f5a6b97dec39bb1eb5de1e9 (diff)
downloadaur-f7fe7996526cf37b959c6a2d73fcd7145f7c1e5f.tar.gz
Switch to cmake
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 76c2c5efab6..13808bf80b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = csmith-git
arch = x86_64
license = BSD
makedepends = git
+ makedepends = cmake
optdepends = perl
provides = csmith
conflicts = csmith
diff --git a/PKGBUILD b/PKGBUILD
index 030fc510b8a..5806bb61cd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Orestis Floros <orestisflo@gmail.com>
pkgname=csmith-git
-pkgver=csmith.2.3.0.r62.g0bd545f
+pkgver=csmith.2.3.0.r66.gfa77c29
pkgrel=1
pkgdesc='A random generator of C programs'
arch=('i686' 'x86_64')
url='https://github.com/csmith-project/csmith'
license=('BSD')
optdepends=('perl')
-makedepends=('git')
+makedepends=('git' 'cmake')
provides=('csmith')
conflicts=('csmith')
source=('git+git://github.com/csmith-project/csmith')
@@ -21,8 +21,7 @@ pkgver() {
build() {
cd csmith
- autoreconf -fi
- ./configure --prefix=/usr
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}