yochananmarqos

papirus-folders-gui

Apr 14th, 2021 (edited)
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=papirus-folders-gui
  2. pkgver=1.3
  3. pkgrel=1
  4. pkgdesc="A graphical user interface for papirus-folders"
  5. url="https://github.com/ItzSelenux/papirus-folders-gui"
  6. arch=('x86_64')
  7. license=('unknown')
  8. depends=('polkit-gnome' 'papirus-folders' 'qt5-base')
  9. source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
  10. sha256sums=('e5fd6bd064559c5c585effb5d7df2fb723e3f389d82d57a6e7477ecd682830a7')
  11.  
  12. prepare() {
  13.   cd "$pkgname-$pkgver/$pkgname"
  14.   sed -i "s|/opt/$pkgname/bin/||g" papirus.desktop
  15. }
  16.  
  17. build() {
  18.   cd "$pkgname-$pkgver/$pkgname"
  19.   qmake
  20.   make
  21. }
  22.  
  23. package() {
  24.   cd "$pkgname-$pkgver/$pkgname"
  25.   install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"
  26.   install -Dm644 papirus.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
  27. }
RAW Paste Data