New package: fscrypt-0.2.6

Fixes: (#9823)
This commit is contained in:
Andrea Brancaleoni 2020-03-13 00:37:39 +01:00
parent 5cdefd1086
commit 467a323f86
2 changed files with 22 additions and 5 deletions

14
srcpkgs/fscrypt/template Normal file
View File

@ -0,0 +1,14 @@
# Template file for 'fscrypt'
pkgname=fscrypt
version=0.2.6
revision=1
build_style=go
go_import_path=github.com/google/fscrypt
go_package="${go_import_path}/cmd/fscrypt"
makedepends="pam-devel"
short_desc="Tool for managing Linux filesystem encryption"
maintainer="Andrea Brancaleoni <abc@pomel.me>"
license="Apache-2.0"
homepage="https://github.com/google/fscrypt"
distfiles="https://github.com/google/fscrypt/archive/v${version}.tar.gz"
checksum=bce54ebb716706150b759052665a29d01963d8df334ad9beb34105ce62d2de94

View File

@ -1,9 +1,8 @@
# Template file for 'subtle'
pkgname=subtle
version=0.11.3284
revision=2
nocross=yes
hostmakedepends="mercurial ruby-devel pkg-config"
version=0.11.3285
revision=1
hostmakedepends="mercurial ruby-devel python3 pkg-config"
makedepends="ruby-devel libX11-devel libXpm-devel libXft-devel
libXinerama-devel libXrandr-devel libXtst-devel"
short_desc="Manual tiling window manager"
@ -18,7 +17,11 @@ do_fetch() {
hg clone --rev ${version##*.} ${url} ${pkgname}-${version}
}
do_configure() {
DESTDIR=$PKGDESTDIR rake config
mv /usr/bin/pkg-config{,.old}
cp ${XBPS_WRAPPERDIR}/pkg-config /usr/bin
sed -i 's|pkg-config|pkg-config.old|g' /usr/bin/pkg-config
PATH=${XBPS_WRAPPERDIR}:$PATH DESTDIR=$PKGDESTDIR rake config
mv /usr/bin/pkg-config{.old,}
}
do_build() {
rake build