Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Jan 10th, 2013  |  syntax: Bash  |  size: 0.68 KB  |  views: 34  |  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: Ybalrid <ybalrid at cecmu.org>
  2. pkgname=systemd-numlockontty
  3. pkgver=0.1
  4. pkgrel=7
  5. pkgdesc="Systemd service + script, automatically activate numpad on ttys"
  6. arch=('any')
  7. url='http://datalove.cecmu.org/aur/numlockontty.html'
  8. license=('GPL')
  9. depends=('systemd')
  10. replaces=('numlockontty')
  11. install='numlockontty.install'
  12. source=("http://datalove.cecmu.org/aur/numlockontty-${pkgver}.tar.gz")
  13. noextract=()
  14. md5sums=('f7b69626dd83f5da5269b226688ff1b8')
  15.  
  16. package() {
  17.     cd "${srcdir}"
  18.  
  19.     install -Dm755 'numlockOnTty' "${pkgdir}/usr/bin/numlockOnTty" || return 1
  20.     install -Dm644 'numLockOnTty.service' "${pkgdir}/etc/systemd/system/numLockOnTty.service" || return 1
  21. }
clone this paste RAW Paste Data