summaryrefslogtreecommitdiff
path: root/repo/berry
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/berry
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/berry')
-rw-r--r--repo/berry/berry.xibuild26
-rw-r--r--repo/berry/fix_prefix.patch14
2 files changed, 27 insertions, 13 deletions
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