summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4043b03c09099efe9c7d0e3d06b506425835ea6d (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
# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
pkgname=organizer-git
pkgver=0.201.r0.g87e988e
pkgrel=1
pkgdesc="Python GTK app to organize your files"
arch=('any')
url="https://gitlab.gnome.org/aviwad/organizer"
license=('GPL3')
depends=('python' 'gtk3' 'libhandy' 'python-gobject')
makedepends=('git' 'meson')
provides=('organizer')
conflicts=('organizer')
source=("git+https://gitlab.gnome.org/aviwad/organizer.git")
sha256sums=('SKIP')

pkgver() {
	cd "${pkgname%-git}"
 	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "${pkgname%-git}"
	meson . build --prefix /usr
	ninja -C build
}

package() {
 	cd "${pkgname%-git}"
	DESTDIR="$pkgdir" ninja -C build install
}