summaryrefslogtreecommitdiff
path: root/pcr/dswm
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-07 14:43:53 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-07 14:43:53 -0500
commitbdf4417489e6e8f288cc2a7b64c69576f090be74 (patch)
treeb084f510b7fa1c33eee23eb65f69a675ea044760 /pcr/dswm
parentbc321c1598cda8ba08c7de864d8ad979561a992b (diff)
Adding package() to some packages
Diffstat (limited to 'pcr/dswm')
-rw-r--r--pcr/dswm/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/pcr/dswm/PKGBUILD b/pcr/dswm/PKGBUILD
index 122e62b9a..c2ed04f6c 100644
--- a/pcr/dswm/PKGBUILD
+++ b/pcr/dswm/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=dswm
pkgver=0.0.5r2
-pkgrel=5
+pkgrel=5.1
pkgdesc="Deep Space Window Manager - tiling window manager, oriented for good usability and good emacs integration (StumpWM-based)."
url="http://sourceforge.net/projects/dswm/"
arch=('x86_64' 'i686')
@@ -17,8 +17,8 @@ source=("http://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-$
md5sums=('90f95f7ecfbf964f8ed5aa629959bc1f')
build() {
- mkdir -p "${pkgdir}"/usr/share/xsessions/ # patch for specific original makefile
- cd $startdir/src/$pkgname-$pkgver
+ #mkdir -p "${pkgdir}"/usr/share/xsessions/ # patch for specific original makefile
+ cd $srcdir/$pkgname-$pkgver
sed -i 's/\@prefix\@//g' dswm.lisp.in
autoconf
./configure --prefix=/usr \
@@ -37,5 +37,9 @@ build() {
--eval \"(progn (dswm::generate-manual) (sb-ext:quit))\""
make "$_sbcl_bopt" "$_sbcl_iopt"
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make destdir="${pkgdir}" install
}