all repos — openbox @ b43b612e3bb2a465abf968226de12d34b199b5ec

openbox fork - make it a bit more like ryudo

makedeb (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# get the version from configure.ac
VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)

echo
echo "Building deb for openbox-$VERSION"
echo

TIME="$(date '+%a, %d %B %Y %T %z')"

IN=debian/changelog.in
OUT=debian/changelog

# make sure configure gets run with the right parameters
make distclean > /dev/null || rm -f config.status

rm -f $OUT

sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \
fakeroot debian/rules binary && \
make distclean > /dev/null