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

pkgname=alttab
_name=alttab
pkgver=v1.7.0
pkgrel=1
pkgdesc="The task switcher for minimalistic window managers or standalone X11 session"
url="https://github.com/sagb/alttab"
license=('GPL3')
arch=('x86_64' 'i686')
depends=('libx11' 'libxmu' 'libxft' 'libxrender' 'libxrandr' 'libpng' 'uthash' 'libxpm')
makedepends=('autoconf' 'automake' 'git')
source=("git+https://github.com/sagb/alttab.git#tag=${pkgver}")
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
}