blob: 5ae921d0398e9f0653e6bb89197d589d9e753804 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Johannes Arnold <johannesarnold@stud.uni-hannover.de>
# Maintainer: Samuel Young <samueldy@umich.edu>
pkgname=xfwm4-rounded-corners
pkgver=4.18.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/samueldy/xfce-patches.git')
noextract=()
md5sums=('SKIP'
'SKIP')
validpgpkeys=()
prepare() {
cd "$srcdir/xfce-patches"
git checkout "rounded-corners-patch"
cd "$srcdir/xfwm4"
git checkout "xfwm4-$pkgver"
git apply "$srcdir/xfce-patches/xfwm4/xfwm4-$pkgver-rounded-corners.patch"
}
build() {
cd "$srcdir/xfwm4"
# Match ./configure options from official xfwm4 package
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-startup-notification \
--enable-randr \
--enable-compositor \
--enable-xsync \
--disable-debug
make
}
check() {
cd "$srcdir/xfwm4"
make -k check
}
package() {
cd "$srcdir/xfwm4"
make DESTDIR="$pkgdir/" install
}
|