This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 6th, 2011  |  syntax: None  |  size: 0.75 KB  |  views: 274  |  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. pkgname=recutils
  2. pkgver=1.2
  3. pkgrel=1
  4. pkgdesc="GNU Recutils is a set of tools and libraries to access human-editable, text-based databases"
  5. arch=(i686 x86_64)
  6. url="http://www.gnu.org/software/recutils/"
  7. license=('GPL')
  8. depends=('curl')
  9. source=(http://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz)
  10. md5sums=('4cd6244a129f7318c4ee4a7461ff9050')
  11. sha1sums=('d2ca0b504a1a70d628ee12a74b96526c136742c0')
  12. options=(!libtool)
  13.  
  14. build() {
  15.   cd "$srcdir/$pkgname-$pkgver"
  16.  
  17.   ./configure --prefix=/usr
  18.   make
  19. }
  20.  
  21. package() {
  22.   cd "$srcdir/$pkgname-$pkgver"
  23.  
  24.   make DESTDIR="$pkgdir/" install
  25.  
  26.   # Symlink for rec-mode
  27.   mkdir -p "$pkgdir/usr/share/emacs/site-lisp"
  28.   ln -s "../../recutils/etc/rec-mode.el" "$pkgdir/usr/share/emacs/site-lisp/rec-mode.el"
  29. }
clone this paste RAW Paste Data