[arch-commits] Commit in encfs/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Sep 12 18:03:44 UTC 2016
Date: Monday, September 12, 2016 @ 18:03:43
Author: jlichtblau
Revision: 189215
upgpkg: encfs 1.9-1 - new upstream release
Modified:
encfs/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-12 17:25:32 UTC (rev 189214)
+++ PKGBUILD 2016-09-12 18:03:43 UTC (rev 189215)
@@ -6,27 +6,38 @@
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=encfs
-pkgver=1.8.1
-pkgrel=7
+pkgver=1.9
+pkgrel=1
pkgdesc='Encrypted filesystem in user-space'
arch=('i686' 'x86_64')
url='https://vgough.github.io/encfs/'
license=('LGPL')
-depends=('rlog' 'openssl' 'fuse' 'boost-libs')
-makedepends=('boost' 'autoconf')
+depends=('openssl' 'fuse' 'tinyxml2')
+makedepends=('cmake')
source=($pkgname-$pkgver.tar.gz::https://github.com/vgough/$pkgname/archive/v$pkgver.tar.gz)
-sha256sums=('ed6b69d8aba06382ad01116bbce2e4ad49f8de85cdf4e2fab7ee4ac82af537e9')
+sha256sums=('30d2db1555ec359082046748d278018b8a246dc49c0442291c5671da0486f4bf')
-build(){
- cd "${srcdir}"/$pkgname-$pkgver
+build() {
+ cd "${srcdir}"
- autoreconf -if
- ./configure --prefix=/usr
+ mkdir build
+ cd build
+
+ cmake ../$pkgname-$pkgver \
+ -DBUILD_SHARED_LIBS=ON \
+ -DUSE_INTERNAL_TINYXML=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
+check() {
+ cd "${srcdir}"/build
+
+ make test
+}
+
package() {
- cd "${srcdir}"/$pkgname-$pkgver
+ cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list