summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Brink2019-05-04 01:52:16 -0700
committerJames Brink2019-05-04 01:52:16 -0700
commit7e963686f26ef9c1f065ef679c3e7f4e108264ff (patch)
treeb5c1b924dbce73d2a9e67c70d8acc2113f1aa9cb
parent0daf64d7a1ab17d7dbb8c73c63eb170f5ead25e6 (diff)
downloadaur-7e963686f26ef9c1f065ef679c3e7f4e108264ff.tar.gz
Set build type to release
Set the build type to resolving the warning about $srcdir being in the package
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ee605a11766..84ec2b18dd08 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = darling-dmg-git
pkgdesc = FUSE module for .dmg files (containing an HFS+ filesystem)
pkgver = v1.0.4.r73.g97a92a6
- pkgrel = 1
+ pkgrel = 2
url = https://www.darlinghq.org
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 553a6bfdd025..d42b3f92f5fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=darling-dmg
pkgname="$_pkgname-git"
pkgver=v1.0.4.r73.g97a92a6
-pkgrel=1
+pkgrel=2
pkgdesc="FUSE module for .dmg files (containing an HFS+ filesystem)"
arch=("i686" "x86_64")
url="https://www.darlinghq.org"
@@ -27,13 +27,13 @@ prepare() {
build() {
cd "$_pkgname/build"
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TESTS=1
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TESTS=1 -DCMAKE_BUILD_TYPE=Release
make -j$(getconf _NPROCESSORS_ONLN)
}
check() {
cd "$_pkgname/build"
- mkdir test
+ make test
}
package() {