diff options
author | Kyle Guarco | 2018-08-28 11:17:41 -0400 |
---|---|---|
committer | Kyle Guarco | 2018-08-28 11:17:41 -0400 |
commit | 9b5e25228e9c2c965153c2a5815ef885427ac97e (patch) | |
tree | 42e9935d220931fe14f9f9675a178be35138b302 | |
parent | 87107a3629a3602c4064fe11c36cad973cea7b39 (diff) | |
download | aur-9b5e25228e9c2c965153c2a5815ef885427ac97e.tar.gz |
Changed to 0.0.4 (master) and added manual.patch to fix MANPREFIX
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | berry.desktop | 6 | ||||
-rw-r--r-- | manual.patch | 12 |
4 files changed, 32 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = berry pkgdesc = A healthy, bite-sized window manager written over the XLib Library - pkgver = 0.0.2 + pkgver = 0.0.4 pkgrel = 1 url = https://github.com/JLErvin/berry arch = x86_64 @@ -2,7 +2,7 @@ pkgname=berry-git pkgbase=berry -pkgver=0.0.2 +pkgver=0.0.4 pkgrel=1 pkgdesc="A healthy, bite-sized window manager written over the XLib Library" url="https://github.com/JLErvin/berry" @@ -10,19 +10,27 @@ arch=('x86_64') license=('MIT') makedepends=('gcc') depends=('libx11') -source=( - "https://github.com/JLErvin/berry/archive/master.zip" -) +source=("https://github.com/JLErvin/berry/archive/master.zip") sha256sums=('SKIP') +prepare() { + patch -p1 -i ../manual.patch + + # Installing the desktop file doesn't work, so N/A for now. + #install -D -m644 ../berry.desktop "${pkgdir}/usr/share/xsessions/" +} + build() { + # Build the package. cd berry-master/ - make } package() { + # ...and install. cd berry-master/ + make DESTDIR="$pkgdir/" install + cd man/ make DESTDIR="$pkgdir/" install } diff --git a/berry.desktop b/berry.desktop new file mode 100644 index 000000000000..71f16b1179d4 --- /dev/null +++ b/berry.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=berry +Comment=A healthy, bite-sized window manager written in C +Exec=berry +Type=XSession diff --git a/manual.patch b/manual.patch new file mode 100644 index 000000000000..606f610b8050 --- /dev/null +++ b/manual.patch @@ -0,0 +1,12 @@ +index 9174b8d..ee1b6d4 100644 +--- src/berry-master/config.mk ++++ src/berry-master/config.mk +@@ -4,7 +4,7 @@ __CONFIG_NAME__ = autostart + __THIS_VERSION__ = $(shell cat VERSION) + + PREFIX = /usr/local +-MANPREFIX = $(PREFIX)/share/man ++MANPREFIX = $(PREFIX)/man + MANDIR = $(MANPREFIX)/man1 + DOCPREFIX = $(PREFIX)/share/doc + X11INC = /usr/X11R6/include |