summaryrefslogtreecommitdiffstats
path: root/abs/core/libaosd/PKGBUILD
blob: 531bf76af0035cc652bafb69edd061d3221faa01 (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
# Maintainer: X0rg
# Contributor: Murtuza Akhtari <inxsible at gmail dot com>
# Contributor: Mildred <silkensedai@online.fr>
# Contributor: Pierre-Olivier Vauboin <povauboin at gmail dot com>

pkgname=libaosd
pkgver=0.2.7
pkgrel=2
pkgdesc="Atheme On Screen Display library"
arch=('i686' 'x86_64')
url="https://github.com/atheme/libaosd"
license=('MIT')
depends=('libxcomposite' 'pango')
source=("https://github.com/atheme/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('b1d02cc5f1761ab6b1c1f8994a92466f11d91d57af65dcb3204e8c54ea514059')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	msg2 "Run './autogen.sh'..."
	./autogen.sh

	msg2 "Run './configure'..."
	./configure --prefix=/usr

	msg2 "Run 'make'..."
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install

	msg2 "Install license..."
	install -Dvm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}