[arch-commits] Commit in encfs/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jun 14 14:08:12 UTC 2021
Date: Monday, June 14, 2021 @ 14:08:12
Author: arojas
Revision: 963442
tinyxml 9.0 rebuild
Modified:
encfs/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-14 13:55:08 UTC (rev 963441)
+++ PKGBUILD 2021-06-14 14:08:12 UTC (rev 963442)
@@ -6,7 +6,7 @@
pkgname=encfs
pkgver=1.9.5
-pkgrel=4
+pkgrel=5
pkgdesc='Encrypted filesystem in user-space'
arch=('x86_64')
url='https://vgough.github.io/encfs/'
@@ -20,27 +20,14 @@
'SKIP')
build() {
- cd "${srcdir}"
-
- mkdir build
- cd build
-
- cmake ../$pkgname-$pkgver \
+ cmake -B build -S $pkgname-$pkgver \
-DUSE_INTERNAL_TINYXML=OFF \
-DINSTALL_LIBENCFS=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake --build build
}
-# check() {
-# cd "${srcdir}"/build
-#
-# make test
-# }
-
package() {
- cd "${srcdir}"/build
-
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" cmake --install build
}
More information about the arch-commits
mailing list