Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

foswiki 1.1.4-1 PKGBUILD

By: a guest on Mar 2nd, 2012  |  syntax: None  |  size: 1.20 KB  |  hits: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Edvinas Valatka <edacval@gmail.com>
  2. # Contributor: Edvinas Valatka <edacval@gmail.com>
  3. pkgname=foswiki
  4. pkgver=1.1.4
  5. pkgrel=1
  6. pkgdesc="Free and open source wiki-based enterprise collaboration platform"
  7. arch=('any')
  8. url="http://$pkgname.org"
  9. license=('GPL')
  10. depends=('perl' 'cron' 'apache' 'rcs' 'diffutils' 'smtp-forwarder' 'perl-html-tree')
  11. backup=(etc/httpd/conf/extra/httpd-$pkgname.conf)
  12. options=(!strip emptydirs)
  13. install=$pkgname.install
  14. changelog=$pkgname.changelog
  15. source=($pkgname-$pkgver.tgz::http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/Foswiki-$pkgver.tgz
  16.   $pkgname.install
  17.   $pkgname.changelog
  18.   httpd-$pkgname.conf)
  19. md5sums=('19d6f20afd06d8eb321f583f417176df'
  20.          '52b7413956af4ac15452d47349d9b3db'
  21.          '8b6c13e0d7577b33b1369fc2dd51a844'
  22.          'e8aeb68c905fc58b2fa8e8a3040143cf')
  23.  
  24. build() {
  25.   mv $srcdir/Foswiki-$pkgver $srcdir/$pkgname-$pkgver
  26.   install -Dm 644 httpd-$pkgname.conf $pkgdir/etc/httpd/conf/extra/httpd-$pkgname.conf
  27.   install -d $pkgdir/srv/http/htdocs
  28.   cp -a $srcdir/$pkgname-$pkgver  $pkgdir/srv/http/htdocs/$pkgname-$pkgver-$pkgrel
  29.   chmod 770  $pkgdir/srv/http/htdocs/$pkgname-$pkgver-$pkgrel
  30. }
  31. # vim:set ts=2 sw=2 et: