From 873665024ebfaa761ee49b508a79db7178aeb778 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 15:08:04 +0100 Subject: added gnupg --- repo/berry/berry.xibuild | 26 +++++++++++++------------- repo/berry/fix_prefix.patch | 14 ++++++++++++++ 2 files changed, 27 insertions(+), 13 deletions(-) create mode 100644 repo/berry/fix_prefix.patch (limited to 'repo/berry') diff --git a/repo/berry/berry.xibuild b/repo/berry/berry.xibuild index 5b4fe5e..e5d50ca 100644 --- a/repo/berry/berry.xibuild +++ b/repo/berry/berry.xibuild @@ -1,22 +1,22 @@ #!/bin/sh NAME="berry" -DESC="A healthy, byte-sized window manager" +DESC="a healthy, byte-sized window manager" -MAKEDEPS="make " -DEPS="libx11 libxft libxinerama " +MAKEDEPS="libx11 libxft libxinerama" -PKG_VER=0.1.11 -SOURCE="https://github.com/JLErvin/berry/archive/refs/tags/$PKG_VER.tar.gz" +PKG_VER=0.1.9 +SOURCE="https://github.com/JLErvin/berry/archive/$PKG_VER.tar.gz" -build () { - make prefix=/usr -} +ADDITIONAL=" +fix_prefix.patch +" -package () { - make prefix=/usr DESTDIR=$PKG_DEST install - - install -Dm644 examples/sxhkdrc $PKG_DEST/usr/share/doc/berry/examples/ - install -Dm644 examples/autostart $PKG_DEST/usr/share/doc/berry/examples/ +build() { + make +} +package() { + make DESTDIR=$PKG_DEST install } + diff --git a/repo/berry/fix_prefix.patch b/repo/berry/fix_prefix.patch new file mode 100644 index 0000000..63324f5 --- /dev/null +++ b/repo/berry/fix_prefix.patch @@ -0,0 +1,14 @@ +Description: Not able to modify PREFIX with condigure +Upstream: No + +--- a/configure ++++ b/configure +@@ -130,7 +130,7 @@ done + + #### Set directory prefixes ########################################## + +-sub "s/@prefix@/${ac_var_prefix:=\/usr\/local}/g ++sub "s/@prefix@/${ac_var_prefix:=\/usr}/g + s/@bindir@/${ac_var_bindir:=\$\{prefix\}\/bin}/g + s/@datadir@/${ac_var_datadir:=\$\{prefix\}\/share}/g + s/@mandir@/${ac_var_mandir:=\$\{datadir\}\/man}/g -- cgit v1.2.1