PKGBUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
  2. # Contributor (Arch): durbatuluk <dvdscripter@gmail.org>
  3. # Contributor (Arch): Steve Ponsford <sp4d@lavabit.com>
  4. # Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
  5. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  6. pkgname=blackbox
  7. pkgver=0.76
  8. pkgrel=1
  9. pkgrel+=.parabola1
  10. pkgdesc="A window manager for X11"
  11. pkgdesc+=", without nonfree programs on the menu"
  12. url="https://github.com/bbidulock/blackboxwm"
  13. arch=('x86_64')
  14. arch+=('i686' 'armv7h')
  15. depends=('gcc-libs' 'libxft' 'libxext' 'libx11' 'libxt')
  16. replaces=($pkgname-libre)
  17. conflicts=($pkgname-libre)
  18. license=('MIT')
  19. source=($pkgname-$pkgver.tar.gz::"https://github.com/bbidulock/blackboxwm/archive/$pkgver.tar.gz"
  20. menu)
  21. sha256sums=('dfb7f2a75b359fff3e119e24baa89cbd381fd9307b81cbd20785f760aa7eb671'
  22. 'f7daa30ed0360ece14d14ddece602e1161b5dfc84098411531e4e02fa20ddc71')
  23. prepare() {
  24. cd blackboxwm-$pkgver
  25. sed -e '/AC_DISABLE_SHARED/d' -i configure.ac # Build shared library
  26. ./autogen.sh
  27. }
  28. build() {
  29. cd blackboxwm-$pkgver
  30. ./configure --prefix=/usr --mandir=/usr/share/man
  31. make
  32. }
  33. package() {
  34. cd blackboxwm-$pkgver
  35. make DESTDIR="$pkgdir" install
  36. install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
  37. install -D -m644 $srcdir/menu "$pkgdir"/usr/share/$pkgname/menu
  38. }