wok-next view obshutdown/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="obshutdown"
4 VERSION="0.1-rc1"
5 CATEGORY="x-window"
6 SHORT_DESC="Light Openbox shutdown manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/panjandrum/obshutdown"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/downloads/panjandrum/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev cairo-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 IFS=$(echo -en "\n\b")
19 for i in $(grep -lr "#include <glib" src/); do
20 sed -i 's/#include <glib\/.*>/#include <glib\.h>/g' "$i"
21 done &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="gtk2 cairo openbox"
29 }
31 post_install() {
32 [ -n "$quiet" ] || cat <<EOT
34 .--------------------------------------------------------.
35 | To get per user config file: |
36 | $ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc |
37 '--------------------------------------------------------'
38 EOT
39 }