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 Mar 16th, 2011  |  syntax: None  |  size: 1.01 KB  |  views: 109  |  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: Maurício CA <mauricio.antunes@gmail.com>
  2. pkgname=xkbset
  3. pkgver=0.5
  4. pkgrel=1
  5. pkgdesc="Program to help manage many of XKB features of X window."
  6. arch=(i686 x86_64)
  7. url="http://www.math.missouri.edu/~stephen/software/#xkbset"
  8. license=('custom:BSD')
  9. groups=()
  10. depends=(libx11)
  11. makedepends=(coreutils)
  12. optdepends=(perl-tk)
  13. provides=()
  14. conflicts=()
  15. replaces=()
  16. backup=()
  17. options=()
  18. install=
  19. changelog=
  20. source=(http://www.math.missouri.edu/~stephen/software/xkbset/$pkgname-$pkgver.tar.gz)
  21. noextract=()
  22. md5sums=('282c416a76a237fa84a7b513c9d7b2cf')
  23.  
  24. build() {
  25.   sed -r \
  26.       -e 's|^(X11PREFIX=/usr).*|\1|' \
  27.       -e 's|^(X11BASE=/usr).*|\1|' \
  28.       -e 's|^INC_PATH=.*|&/X11|' \
  29.       -e 's|^(INSTALL_MAN1=.*)(/.*/.*)|\1/share\2|' \
  30.       -i "$srcdir/$pkgname-$pkgver/Makefile"
  31.   cd "$srcdir/$pkgname-$pkgver"
  32.   make
  33. }
  34.  
  35. package() {
  36.   install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
  37.   cd "$srcdir/$pkgname-$pkgver"
  38.   make DESTDIR="$pkgdir" install
  39. }
  40.  
  41. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data