blob: 525ec36cd540be8309a838207b102f7988b02901 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=nemo-ext-git-git
pkgver=1.3.r16.g5389549
pkgrel=4
pkgdesc="Nemo extension to add important information about the current git directory"
arch=('i686' 'x86_64')
url="https://github.com/bilelmoussaoui/nautilus-git"
license=('GPL3')
depends=('git' 'gtk3' 'nemo-python')
makedepends=('meson')
provides=("${pkgname%-git}=1.3" 'nautilus-git=1.3')
conflicts=("${pkgname%-git}-1.3" 'nautilus-git=1.3' 'nemo-folder-icons')
# See https://github.com/bilelmoussaoui/nautilus-folder-icons/issues/34
source=("${pkgname%-git}::git+https://github.com/bilelmoussaoui/nautilus-git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
# Disable post_install, not available in meson-options
sed -i '37,38d' meson.build
}
build() {
arch-meson "${pkgname%-git}" build -Dfile_manager=nautilus
meson compile -C build
}
# No tests defined
#check() {
# meson test -C build --print-errorlogs
#}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|