Guest User

PKGBUILD

a guest
Jul 11th, 2014
412
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # $Id: PKGBUILD 101656 2013-11-29 20:21:32Z arcanis $
  2. # Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
  3. # Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
  4.  
  5. pkgname=g15daemon
  6. pkgver=1.9.5.3
  7. pkgrel=7
  8. pkgdesc="A daemon that makes it possible to use the G-Buttons and draw on the G15 LCD"
  9. arch=('i686' 'x86_64')
  10. url="http://www.g15tools.com/"
  11. license=('GPL')
  12. depends=('libg15render>=1.2')
  13. options=(!libtool)
  14. source=(${pkgname}/${pkgname}-${pkgver}.tar.bz2
  15. g15daemon.service
  16. g15daemon.patch)
  17. md5sums=('2cd8b4f1bd039bf804f1f472216742f0'
  18. 'c259d875f33a2fba53f9c2200a913c11'
  19. SKIP)
  20.  
  21. build() {
  22. cd "${srcdir}/${pkgname}-${pkgver}"
  23. patch -Np1 -i "${srcdir}/g15daemon.patch"
  24. ./configure --prefix=/usr --sbindir=/usr/bin --disable-static
  25. make
  26. }
  27.  
  28. package() {
  29. cd "${srcdir}/${pkgname}-${pkgver}"
  30. make DESTDIR="${pkgdir}" install
  31. install -D -m 644 "${srcdir}/g15daemon.service" \
  32. "${pkgdir}/usr/lib/systemd/system/g15daemon.service"
  33. }
RAW Paste Data