summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82c9e62b1689bf95d207c7dd0571ccf0e5a56163 (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
#Maintainer: Ariel Popper <a at arielp dot com>

pkgname='express-git'
pkgver=0+473_23ce92e
pkgrel=1
pkgdesc="IRC client with enhanced media capabilities"
arch=('i686' 'x86_64')
url="https://git.enlightenment.org/apps/express.git/"
license=("custom")
makedepends=('git')
depends=('elementary')
source=("git+https://git.enlightenment.org/apps/express.git")
md5sums=('SKIP')

_gitname=express

pkgver () {
	cd "$srcdir/$_gitname"
	echo "0+$(git rev-list --count HEAD)_$(git describe --always )"
}

build() {
	cd "$srcdir/$_gitname"
	./autogen.sh --prefix=/usr
	make
}

package() {
	cd "$srcdir/$_gitname"
	make DESTDIR="$pkgdir/" install
	install -d "$pkgdir/usr/share/licenses/$pkgname"
	install AUTHORS COPYING COPYING-PLAIN "$pkgdir/usr/share/licenses/$pkgname"
}