Advertisement
Guest User

Untitled

a guest
Nov 9th, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # Maintainer: twa022 <twa022 at gmail dot com>
  2.  
  3. _pkgname=xfconf
  4. pkgname=${_pkgname}-devel
  5. pkgver=4.17.1
  6. pkgrel=1
  7. pkgdesc="A simple client-server configuration storage and query system"
  8. arch=('i686' 'x86_64' 'armv7h' 'aarch64')
  9. url="https://www.xfce.org/"
  10. license=('GPL2')
  11. groups=('xfce4-devel')
  12. depends=('libxfce4util' 'dbus')
  13. makedepends=('intltool' 'gtk-doc' 'chrpath' 'vala' 'gobject-introspection' 'python') #for gdbus-codegen
  14. provides=("${_pkgname}=${pkgver}")
  15. conflicts=("${_pkgname}")
  16. options=('!emptydirs')
  17. source=("https://archive.xfce.org/src/xfce/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2")
  18. sha256sums=('8f30b249b46d96a9fad3abc7d0b0318ec28c1e8362ce3b280cefcf37ee5135f2')
  19.  
  20. build() {
  21. cd "$srcdir/$_pkgname-$pkgver"
  22.  
  23. ./configure \
  24. --prefix=/usr \
  25. --sysconfdir=/etc \
  26. --libexecdir=/usr/lib/xfce4 \
  27. --localstatedir=/var \
  28. --disable-static \
  29. --enable-gtk-doc \
  30. --disable-debug
  31. make
  32. }
  33.  
  34. package() {
  35. cd "$srcdir/$_pkgname-$pkgver"
  36.  
  37. make DESTDIR="$pkgdir" install
  38.  
  39. # fix insecure rpath, https://bugs.archlinux.org/task/19980
  40. find "$pkgdir" -name Xfconf.so -exec chrpath -d {} \;
  41. }
  42.  
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement