blob: c4a47ebc68042bd0a6a2c0e27506dad3645cfc20 (
plain)
1 # Description: Round corners plugin for xfce panel
2 # URL: http://aur.archlinux.org/packages.php?do_Details=1&ID=7127
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Hannes Mayer, kontakt at ecarux dot de
5 # Depends on: xfce4-panel
6 # Group: xfce4
7
8 name=xfce4-corner-plugin
9 version=1.0.1
10 release=4
11 source=(http://aur.archlinux.org/packages/$name/$name.tar.gz)
12
13 build() {
14 cd $name
15 gcc -std=c99 -Wall `pkg-config --cflags --libs libxfce4panel-1.0` \
16 $CFLAGS $LDFLAGS -o $name $name.c
17 sed 's|/usr/libexec|/usr/lib|' -i $name.desktop
18 install -D -m 0755 $name $PKG/usr/lib/xfce4/panel-plugins/$name
19 install -D -m 0644 $name.desktop $PKG/usr/share/xfce4/panel-plugins/$name.desktop
20 find $PKG/usr/share/xfce4/panel-plugins -type f -name '*.desktop' \
21 -exec sed -r '/\[.+\]=/d' -i {} \;
22 }
|