summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fef2a6cbc07e55a4601146e847e186ae64ec411 (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
42
43
44
45
46
47
48
49
50
# Maintainer: Johannes Arnold <johannesarnold@stud.uni-hannover.de>
pkgname=xfwm4-rounded-corners
pkgver=4.14.0
pkgrel=1
epoch=
pkgdesc="Patch for Xfwm4 that allows drawing windows with rounded corners"
arch=('x86_64')
url="https://github.com/wsdfhjxc/xfwm-rounded-corners-patch"
license=('GPL2')
groups=()
depends=()
makedepends=('git' 'xfce4-dev-tools')
checkdepends=()
optdepends=()
provides=("xfwm4")
conflicts=("xfwm4")
replaces=()
backup=()
options=()
install=
changelog=
source=('git+https://github.com/xfce-mirror/xfwm4.git'
        'git+https://github.com/wsdfhjxc/xfwm-rounded-corners-patch.git')
noextract=()
md5sums=('SKIP'
         'SKIP')
validpgpkeys=()

prepare() {
	cd "$srcdir/xfwm4"
	git checkout "xfwm4-$pkgver"
	git apply "$srcdir/xfwm-rounded-corners-patch/xfwm-$pkgver-rounded-corners.patch"
}

build() {
	cd "$srcdir/xfwm4"
	./autogen.sh --prefix=/usr
	make
}


check() {
	cd "$srcdir/xfwm4"
	make -k check
}

package() {
	cd "$srcdir/xfwm4"
	make DESTDIR="$pkgdir/" install
}