diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = berry pkgdesc = A healthy, bite-sized window manager written over the XLib Library pkgver = git+caf4f33 - pkgrel = 1 + pkgrel = 2 url = https://github.com/JLErvin/berry arch = x86_64 license = MIT @@ -5,7 +5,7 @@ _pkgname=berry pkgname=berry-git _pkgver=caf4f33 pkgver=git+$_pkgver -pkgrel=1 +pkgrel=2 pkgdesc="A healthy, bite-sized window manager written over the XLib Library" url="https://github.com/JLErvin/berry" arch=('x86_64') @@ -21,14 +21,22 @@ sha256sums=('SKIP' 'SKIP') build() { cd ${_pkgname}/ + # Change to the _pkgver (Last updated commit) git checkout $_pkgver + # Compile the window manager make } package() { cd ${_pkgname}/ - make DESTDIR="${pkgdir}/" PREFIX="/usr/local" install + + # The installation location (from /) + PFIX="/usr/local" + # Make the directory if it doesn't exist, then install + mkdir -p "${pkgdir}/${PFIX}" + make DESTDIR="${pkgdir}/" PREFIX=$PFIX install + # Install the examples (sample configuration files) mkdir -p "${pkgdir}/etc/xdg/berry" install -D -m644 examples/* "${pkgdir}/etc/xdg/berry/" } |