SHARE
TWEET

PKGBUILD

a guest Jan 10th, 2013 37 Never
  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. }
RAW Paste Data
Top