-
Notifications
You must be signed in to change notification settings - Fork 0
/
pkg
executable file
·20 lines (14 loc) · 642 Bytes
/
pkg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#Original script provided by Mario and mucked about by me.
#You must set version and arch manually at the moment.
#Packages are created in /tmp.
VERSION=0.1.7
DESCRIPTION="X11 eye candy/animations with holiday themes
Adds animated objects to the desktop, in the style of Xpenguins/Xsnow."
URL="http://keithhedger.hostingsiteforfree.com/pages/xdecorations/xdecorations.html"
ARCH=amd64
make DESTDIR=/tmp/XDecorations install
for PKG in rpm deb sh tar
do
fpm -t $PKG -n "xdecorations" -C /tmp/XDecorations --package /tmp -v $VERSION -a $ARCH --description "$DESCRIPTION" -m Keith --category x11 --url "$URL" -f -s dir .
done