Advertisement
Guest User

PKGBUILD

a guest
Oct 27th, 2020
178
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.56 KB | None
  1. # Maintainer: Jonathon Fernyhough <jonathon+m2x dev>
  2. # Contributor: twa022 <twa022 at gmail dot com>
  3. # Contributor: Brenton Horne <brentonhorne77 at gmail dot com>
  4. # Contributor: Balló György <ballogyor+arch at gmail dot com>
  5.  
  6. pkgname=mate-tweak
  7. pkgver=20.10.0
  8. _umsver=20.10.0
  9. pkgrel=1
  10. pkgdesc="Tweak tool for MATE (fork of MintDesktop)"
  11. arch=('any')
  12. url="https://github.com/ubuntu-mate/mate-tweak"
  13. license=('GPL')
  14. depends=('gtk3' 'libnotify' 'mate-applets' 'python-configobj' 'python-distro' 'python-gobject' 'python-psutil' 'python-setproctitle')
  15. makedepends=('python-distutils-extra' 'python-setuptools')
  16. optdepends=('ubuntu-mate-settings: extra panel layout'
  17.             'brisk-menu: for Manjaro panel layout'
  18.             'mate-applet-dock: for Mutiny panel layout'
  19.             'mate-menu: to enable advanced menu'
  20.             'mate-netbook: for Netbook panel layout'
  21.             'plank: for Cupertino panel layout'
  22.             'synapse: to enable launcher'
  23.             'tilda: to enable pull-down terminal'
  24.             'topmenu-gtk: for Mutiny panel layout'
  25.             'vala-panel-appmenu-mate: for Mutiny,Cupertino')
  26. source=("$pkgname-$pkgver.tar.gz::https://github.com/ubuntu-mate/$pkgname/archive/$pkgver.tar.gz")
  27. sha256sums=('8231a0ca9636dc7695e39a00d09d6bb82eaf78757e434b4943133e4e1ff6d58a')
  28.  
  29. prepare() {
  30.   cd "$pkgname-$pkgver"
  31.   sed -i 's|/usr/lib/mate-applets/topmenu-mate-panel-applet|/usr/lib/topmenu-gtk/topmenu-mate-panel-applet|' mate-tweak
  32. }
  33.  
  34. package() {
  35.   cd "$pkgname-$pkgver"
  36.   python setup.py install --root="$pkgdir" --optimize=1
  37. }
  38.  
Advertisement
RAW Paste Data Copied
Advertisement