Advertisement
cmsigler

akvcam-dkms-1.0.3-1_PKGBUILD

Apr 7th, 2020
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. # Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
  2.  
  3. _pkgbase=akvcam
  4. pkgname=${_pkgbase}-dkms
  5. pkgver=1.0.3
  6. pkgrel=2
  7. pkgdesc="Virtual camera for Linux"
  8. url="https://github.com/webcamoid/akvcam"
  9. arch=('x86_64' 'i686')
  10. license=('GPLv2')
  11. depends=('dkms' 'linux-headers')
  12. conflicts=("${_pkgbase}-dkms")
  13. provides=("${_pkgbase}-dkms")
  14. install="${pkgname}.install"
  15. source=("https://github.com/webcamoid/${_pkgbase}/archive/${pkgver}.tar.gz"
  16. "${_pkgbase}-compile_kernel_5_6_0.patch"
  17. "${pkgname}.install")
  18. md5sums=('75b1cfb55b5fbf1df2532b4da181cffa'
  19. '3f9eeb2a517a16d4c099f7fa5f9e0ba2'
  20. '3e315711dc9e57c9ba963abea81468b1')
  21.  
  22. prepare() {
  23. patch -Np1 -i "${srcdir}/akvcam-compile_kernel_5_6_0.patch"
  24. }
  25.  
  26. build() {
  27. cd "$srcdir/${_pkgbase}-${pkgver}/src"
  28. make
  29. }
  30.  
  31. package() {
  32. cd "${srcdir}/${_pkgbase}-${pkgver}"
  33. mkdir -p "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"
  34. cp -vf COPYING "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"
  35. mkdir -p "${pkgdir}/usr/share/licenses/${_pkgbase}"
  36. cp -vf COPYING "${pkgdir}/usr/share/licenses/${_pkgbase}"
  37. mkdir -p "${pkgdir}/etc/${_pkgbase}"
  38. cp -vf share/config_example.ini "${pkgdir}/etc/${_pkgbase}"
  39. cd "${srcdir}/${_pkgbase}-${pkgver}/src"
  40. cp -ar * "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"
  41. cd "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"
  42. make clean
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement