milis/talimatname/genel/x/xfce4-whiskermenu-plugin/talimat

28 lines
740 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Xfce4 için alternatif menü
2016-03-02 16:12:51 +01:00
# URL: http://gottcode.org/xfce4-whiskermenu-plugin/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2018-01-10 19:24:07 +01:00
# Gerekler: cmake xfce4-panel exo ninja
2018-01-10 19:06:08 +01:00
# Grup: xfce4
2016-03-02 16:12:51 +01:00
2017-10-28 14:10:23 +02:00
isim=xfce4-whiskermenu-plugin
2018-01-10 19:06:08 +01:00
source /root/talimatname/genel/x/xfce4/surumler
surum="${xfce4_whiskermenu_plugin_surum}";[ -z ${xfce4_whiskermenu_plugin_surum} ] && \
2017-10-28 14:10:23 +02:00
surum=2.1.3
devir=1
2018-01-10 19:06:08 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/gottcode/xfce4-whiskermenu-plugin/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-03-02 16:12:51 +01:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2018-01-10 19:24:07 +01:00
mkdir -p build
cd build
cmake "$SRC/$isim-$surum" \
2018-01-10 19:06:08 +01:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
2018-01-10 19:24:07 +01:00
-GNinja
ninja
DESTDIR="$PKG" ninja -C $SRC/$isim-$surum/build install
rm -rf $PKG/usr/share/man
2016-03-02 16:12:51 +01:00
}