diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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/" } |