summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d2f30fb78a2927ce971de9f275d7b86d703b302 (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
# Maintainer: TingPing <tingping@tingping.se>

_gitname=libsexy3
pkgname=libsexy3-git
pkgver=1.1.0.r0.g2cdd4c6
pkgrel=1
pkgdesc='Custom Gtk3 widgets'
arch=('i686' 'x86_64')
license=('GPL')
url='https://tingping.github.io/libsexy3'
depends=('gtk3' 'enchant')
makedepends=('iso-codes' 'autoconf' 'automake' 'libtool' 'pkgconfig'
			'autoconf-archive' 'gtk-doc' 'gobject-introspection' 'vala')
source=('git+https://github.com/TingPing/libsexy3.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/$_gitname"
	git describe --long | sed 's/^v//; s/-/.r/; s/-/./'
}

build() {
	cd "$srcdir/$_gitname"
	./autogen.sh --prefix=/usr --disable-debug --enable-gtk-doc
	make
}

package() {
	cd "$_gitname"
	DESTDIR="$pkgdir" make install
}