SHARE
TWEET

PKGBUILD

a guest Apr 2nd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Brad Fanella <cesura@archlinux.org>
  2. # Contributor: Martin Wimpress <code@flexion.org>
  3.  
  4. pkgname=mate-netbook
  5. pkgver=1.22.0
  6. pkgrel=2
  7. pkgdesc="A simple window management tool"
  8. url="https://mate-desktop.org"
  9. arch=('x86_64')
  10. license=('GPL')
  11. depends=('libfakekey' 'mate-panel')
  12. makedepends=('intltool')
  13. groups=('mate-extra')
  14. conflicts=('mate-netbook-gtk3')
  15. replaces=('mate-netbook-gtk3')
  16. source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
  17.         "001.maximus_fix_segmentation_fault.patch"
  18. )
  19.  
  20. sha256sums=('14c0aea8f49c4613592f1da4a8bd3548cd6dd091bd760b15dd7364b6d2e6e19e'
  21.             'a7ee3d70bdb4530f777419c80ec7f649ef2c08eaf9fa77d84bcea973b9ada154')
  22.  
  23. prepare() {
  24.         cd "${pkgname}-${pkgver}/maximus"
  25.         patch --strip=1 < ../../001.maximus_fix_segmentation_fault.patch
  26. }
  27.  
  28. build() {
  29.         cd "${pkgname}-${pkgver}"
  30.         ./configure \
  31.             --prefix=/usr \
  32.             --libexec=/usr/lib/${pkgname} \
  33.             --sysconfdir=/etc
  34.         make
  35. }
  36.  
  37. package() {
  38.         cd "${pkgname}-${pkgver}"
  39.         make DESTDIR="${pkgdir}" install
  40. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top