summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03ed465e52b957076f95cea8950ff022d4092a4d (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.16.g6ff9d46
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')
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
}