wok-next view obshutdown/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 1810c4d44a48 |
children | f48456621a9d |
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="pankso@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="gtk+-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 && make install
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="gtk+ cairo openbox"
28 }
30 post_install() {
31 [ -n "$quiet" ] || cat <<EOT
33 .--------------------------------------------------------.
34 | To get per user config file: |
35 | $ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc |
36 '--------------------------------------------------------'
37 EOT
38 }