PKGBUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Maintainer (Arch): Brad Fanella <cesura@archlinux.org>
  2. # Contributor (Arch): Martin Wimpress <code@flexion.org>
  3. # Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
  4. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  5. pkgname=engrampa
  6. pkgver=1.24.0
  7. pkgrel=1
  8. pkgrel+=.parabola1
  9. pkgdesc="Archive manipulator for MATE"
  10. pkgdesc+=", without nonfree unace and unrar recommendation"
  11. url="https://mate-desktop.org"
  12. arch=('x86_64')
  13. arch+=('i686' 'armv7h')
  14. license=('GPL')
  15. depends=('gtk3' 'gzip' 'gettext' 'libarchive' 'tar' 'unzip' 'zip')
  16. makedepends=('caja' 'itstool' 'python')
  17. optdepends=('caja: Caja support'
  18. 'p7zip: 7Z and ARJ archive support'
  19. 'brotli: Brotli compression support')
  20. groups=('mate-extra')
  21. conflicts=("engrampa-gtk3")
  22. replaces=("engrampa-gtk3")
  23. source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
  24. sha256sums=('d415f486edc9a5474024b3928ff1127ba4534a703a60993a3912fffcf0988a8d')
  25. build() {
  26. cd "${pkgname}-${pkgver}"
  27. ./configure \
  28. --prefix=/usr \
  29. --libexecdir=/usr/lib/${pkgname} \
  30. --disable-packagekit
  31. #https://bugzilla.gnome.org/show_bug.cgi?id=656231
  32. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  33. make
  34. }
  35. package() {
  36. cd "${pkgname}-${pkgver}"
  37. make DESTDIR="${pkgdir}" install
  38. }