summaryrefslogtreecommitdiff
path: root/repo/berry
diff options
context:
space:
mode:
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