diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 14:43:53 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 14:43:53 -0500 |
commit | bdf4417489e6e8f288cc2a7b64c69576f090be74 (patch) | |
tree | b084f510b7fa1c33eee23eb65f69a675ea044760 | |
parent | bc321c1598cda8ba08c7de864d8ad979561a992b (diff) |
Adding package() to some packages
-rw-r--r-- | pcr/dswm/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/nexuiz-data/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/nexuiz/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/ruby-libnotify/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/stumpwm-git/PKGBUILD | 6 |
5 files changed, 19 insertions, 10 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 } diff --git a/pcr/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD index 640f85f30..c6ab172b7 100644 --- a/pcr/nexuiz-data/PKGBUILD +++ b/pcr/nexuiz-data/PKGBUILD @@ -9,7 +9,7 @@ pkgname=nexuiz-data _pkgsourcename=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=3 +pkgrel=3.1 arch=('any') pkgdesc="Nexuiz game data" conflicts=('nexuiz<2.5.1-3') @@ -18,7 +18,7 @@ license=("GPL") source=(http://downloads.sourceforge.net/${_pkgsourcename}/${_pkgsourcename}-${_zipver}.zip) md5sums=('d750bc328e58df8492f8d88bdcf818cb') -build() { +package() { _nexdir="$pkgdir/opt/nexuiz" _install_dir $srcdir/Nexuiz/Docs $_nexdir/docs diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 85a49a893..0d5cd1afc 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,7 +8,7 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=3 +pkgrel=3.1 arch=('i686' 'x86_64' 'mips64el') pkgdesc="A free software first person shooter" url="http://www.alientrap.org/games/nexuiz" @@ -45,7 +45,10 @@ build() { make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 cl-nexuiz || return 1 make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sdl-nexuiz || return 1 make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sv-nexuiz || return 1 +} +package() { + cd $srcdir/Nexuiz/darkplaces # install the compiled binaries install -Dm755 nexuiz-glx nexuiz-sdl nexuiz-dedicated -t $_nexdir || return 1 diff --git a/pcr/ruby-libnotify/PKGBUILD b/pcr/ruby-libnotify/PKGBUILD index 63b5a48af..f6045b940 100644 --- a/pcr/ruby-libnotify/PKGBUILD +++ b/pcr/ruby-libnotify/PKGBUILD @@ -5,7 +5,7 @@ pkgname=ruby-libnotify pkgver=0.8.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="ruby bindings for libnotify, a library for desktop notifications" arch=('i686' 'x86_64' 'mips64el') url="http://rubygems.org/downloads" @@ -15,7 +15,7 @@ makedepends=('ruby-pkgconfig') source=(http://rubygems.org/downloads/${pkgname}-${pkgver}.gem) noextract=(${pkgname}-${pkgver}.gem) -build() { +package() { cd $srcdir local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" diff --git a/pcr/stumpwm-git/PKGBUILD b/pcr/stumpwm-git/PKGBUILD index f014ae958..eac3d2705 100644 --- a/pcr/stumpwm-git/PKGBUILD +++ b/pcr/stumpwm-git/PKGBUILD @@ -7,7 +7,7 @@ pkgname=stumpwm-git pkgver=20110924 -pkgrel=1 +pkgrel=1.1 pkgdesc="A tiling, keyboard-driven window manager written in common lisp" arch=('i686' 'x86_64' 'mips64el') url="http://www.nongnu.org/stumpwm/" @@ -123,7 +123,9 @@ build() { make "$_clisp_bopt" fi fi - +} + +package() { make destdir=$pkgdir install rm -f ${pkgdir}/usr/share/info/dir |