Advertisement
Guest User

Untitled

a guest
Apr 17th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # Maintainer: twa022 <twa022 at gmail dot com>
  2.  
  3. _pkgname=xfconf
  4. pkgname=${_pkgname}-devel
  5. pkgver=4.19.0
  6. pkgrel=1
  7. pkgdesc="A simple client-server configuration storage and query system"
  8. arch=('i686' 'x86_64' 'armv7h' 'aarch64')
  9. url="https://docs.xfce.org/xfce/xfconf/start"
  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=('b7b502f7c8891807d666bb3b5dc33b50df9fdda9fd41e2341bf185b5f2579183')
  19.  
  20. build() {
  21. cd "${_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 "${_pkgname}-${pkgver}"
  36. make DESTDIR="$pkgdir" install
  37.  
  38. # fix insecure rpath, https://bugs.archlinux.org/task/19980
  39. find "$pkgdir" -name Xfconf.so -exec chrpath -d {} \;
  40. }
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement