blob: 6254a50a027e41506922b361765376f855b1d477 (
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
|
pkgname=catwm-git
_pkgname=catwm
pkgver=r75.c1f52fd
pkgrel=1
epoch=1
pkgdesc="Cute And Tiny Window Manager"
url="http://github.com/pyknite/catwm"
license=('GPL')
depends=('libxinerama')
makedepends=('git')
arch=(i686 x86_64)
provides=($_pkgname)
conflicts=($_pkgname)
options=(!libtool)
source=("$pkgname::git+https://github.com/mytch444/catwm.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
}
build() {
cd $pkgname
make PREFIX=/usr
}
package() {
cd $pkgname
make PREFIX=/usr BINDIR="${pkgdir}/usr/bin" install
}
|