summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9bb992f14e20db674d9ed61c56124a1fa0d6ccf2 (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
37
38
39
40
41
# Maintainer: Kyle Guarco <kyleguarco55@gmail.com>

_pkgname=berry
pkgname=berry-git
pkgbase=berry
pkgver=git+30b94e5
pkgrel=1
pkgdesc="A healthy, bite-sized window manager written over the XLib Library"
url="https://github.com/JLErvin/berry"
arch=('x86_64')
license=('MIT')
makedepends=('gcc')
depends=('libx11')
source=(
	"git://github.com/JLErvin/berry.git#branch=master"
	berry.desktop
	"makefile.patch"
)
sha256sums=('SKIP' 'SKIP' 'SKIP')

# For later.
#install -D -m644 ../berry.desktop "${pkgdir}/usr/share/xsessions/"

prepare() {
	cd $srcdir/${_pkgname}/
	patch --strip=1 < ../makefile.patch
}

build() {
	cd ${_pkgname}/
	make
}

package() {
	cd ${_pkgname}/
	make DESTDIR="$pkgdir/" PREFIX="/usr/local" install
	
	cd man/
	make DESTDIR="$pkgdir/" install
}