blob: d4eaa6ff8a8c4e80ba216d30fc35eae76fc54a02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: grimi <grimi at poczta dot fm>
pkgname=spacefm-ng-git
pkgver=1.0.6.18.g49f49f0
pkgrel=2
pkgdesc='A fork of spacefm multi-panel tabbed file manager pulled from git repo'
arch=('i686' 'x86_64')
url='https://github.com/Teklad/spacefm-ng'
license=('GPL3')
depends=('gtk3' 'desktop-file-utils' 'startup-notification' 'ffmpegthumbnailer')
makedepends=('intltool' 'gettext' 'git')
optdepends=('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')
source=("git+https://github.com/Teklad/${pkgname%-git}" suppress_warnings.patch)
md5sums=('SKIP'
'02027f4d447ff2318afbce87490df382')
provides=('spacefm')
conflicts=('spacefm')
pkgver() {
cd ${pkgname%-git}
printf "%s" $(git describe --tags|tr - .)
}
prepare() {
cd ${pkgname%-git}
git apply "$srcdir"/suppress_warnings.patch
}
build() {
cd ${pkgname%-git}
CPPFLAGS="" ./autogen.sh --with-gtk3 --prefix=/usr
make
}
package() {
cd ${pkgname%-git}
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/bin/spacefm-installer
}
|