summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 037704750bb7d138dc537e99556dbf60235c4d93 (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
pkgname=catwm-git
pkgver=20140202
pkgrel=1
pkgdesc="Cute And Tiny Window Manager"
url="http://github.com/pyknite/catwm"
license=('GPL')
depends=('libx11')
makedepends=('git')
arch=(i686 x86_64)
options=(!libtool)
source='git+https://github.com/mytch444/catwm.git'
md5sums=('SKIP')
_gitname="catwm"
 
pkgver() {
  cd "$_gitname"
  git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
}

build() {
  cd $srcdir/$_gitname
  make PREFIX=/usr 
}

package() {
  cd $srcdir/$_gitname
  make BINDIR=${pkgdir}/usr/bin install
}