# Maintainer: MioLovesTio < mishazai1997@gmail.com > # Maintainer: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: Janne Heß # Contributor: Bartłomiej Piotrowski # Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/ # Contributor: ridikulus_rat pkgname=spacefm pkgver=1.0.6 pkgrel=3 pkgdesc='Multi-panel tabbed file manager' arch=(i686 x86_64) url="https://ignorantguru.github.io/spacefm/" license=(GPL3) depends=(gtk2 startup-notification ffmpegthumbnailer) makedepends=(intltool) optdepends=('dbus: dbus integration' 'util-linux: disk eject support' 'lsof: device processes' 'wget: plugin download' 'gksu: perform as root functionality' 'udevil: mount as non-root user and mount networks' 'udisks2: mount as non-root user' 'pmount: mount as non-root user' 'curlftpfs: mount FTP shares' 'jmtpfs: mount MTP devices' 'gphotofs: mount cameras' 'ifuse: mount your iPhone/iPod Touch' 'fuseiso: mount ISO files') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/${pkgver}.tar.gz" "https://github.com/FabioLolix/AUR-artifacts/raw/master/spacefm-Fix-GCC-10-build.patch" "https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/spacefm-glibc-2.28-compatibility.patch") sha256sums=('fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9' '16622d0d56c40e87e846a81709d9c2c8303f189e53a783bf20ccdb57b8f9465f' '12411055df994211d2968cb52746b6caefce6926aed1ed33b542bd70b571ce7e') prepare() { cd "$srcdir/${pkgname}-${pkgver}" patch -Np1 -i ../spacefm-glibc-2.28-compatibility.patch patch -Np1 -i ../spacefm-Fix-GCC-10-build.patch } build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ --prefix=/usr \ --with-gtk2 make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install rm -f "$pkgdir"/usr/bin/spacefm-installer }