summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b69ae9fbc3ef5691da606c8a64f0250b5cae8f30 (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: Jay Ta'ala <jay@jaytaala.com>
# Contributor: Maciej Mazur <mamciek@gmail.com>

pkgname=alttab-git
_name=alttab
pkgver=v1.4.0.21.g7e4fc4c
pkgrel=1
pkgdesc="The task switcher for minimalistic window managers or standalone X11 session"
url="https://github.com/sagb/alttab"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('libx11' 'libxmu' 'libxft' 'libxrender' 'libxrandr' 'libpng' 'uthash' 'libxpm' 'git')
makedepends=('autoconf' 'automake')
source=("git+https://github.com/sagb/alttab.git#branch=master")
sha1sums=('SKIP')

pkgver() {
	cd "$_name"
	git describe --tags |sed 's/-/./g'
}

build() {
	pwd
	ls -al
	cd "$_name"
	./configure --prefix=/usr
	make
}

package() {
	pwd
	ls -al
	cd "$_name"
	make DESTDIR="$pkgdir/" install
}