yochananmarqos

graceful-platform-theme

Dec 16th, 2020
153
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=graceful-platform-theme
  2. pkgver=1.0.1
  3. pkgrel=1
  4. arch=('x86_64')
  5. url="https://github.com/graceful-linux/graceful-platform-theme"
  6. license=('GPL')
  7. depends=('qt5-base')
  8. provides=('libgraceful.so')
  9. source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
  10. sha256sums=('c50684e0e153420a944342ebbf9d19dc1e089063351de76490a6456e39ddfe21')
  11.  
  12. build() {
  13.     cd "$pkgname-$pkgver"
  14.     qmake
  15.     make
  16. }
  17.  
  18. package() {
  19.     cd "$pkgname-$pkgver"
  20.     install -d "$pkgdir"/usr/share/{icons,themes}
  21.     cp -r icon/graceful "$pkgdir/usr/share/icons"
  22.     cp -r theme/graceful "$pkgdir/usr/share/themes"
  23.     install -Dm644 lib/libgraceful.so -t "$pkgdir/usr/lib/qt/plugins/styles"
  24. }
RAW Paste Data