xfce4-eklentiler

This commit is contained in:
milisbir 2018-01-10 20:24:07 +02:00
parent dc4b1120ea
commit c917fc6ddf
2 changed files with 10 additions and 6 deletions

View File

@ -13,8 +13,7 @@ kaynak=(http://archive.xfce.org/src/panel-plugins/$isim/${surum%.*}/$isim-$surum
derle() {
cd $isim-$surum
NOCONFIGURE=1 ./autogen.sh
./configure \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
@ -24,4 +23,5 @@ derle() {
--enable-maintainer-mode
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/man
}

View File

@ -1,7 +1,7 @@
# Tanım: Xfce4 için alternatif menü
# URL: http://gottcode.org/xfce4-whiskermenu-plugin/
# Paketçi: milisarge
# Gerekler: cmake xfce4-panel exo
# Gerekler: cmake xfce4-panel exo ninja
# Grup: xfce4
isim=xfce4-whiskermenu-plugin
@ -14,10 +14,14 @@ kaynak=(https://github.com/gottcode/xfce4-whiskermenu-plugin/archive/v$surum.tar
derle() {
cd $isim-$surum
cmake \
mkdir -p build
cd build
cmake "$SRC/$isim-$surum" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
make
make DESTDIR=$PKG install
-GNinja
ninja
DESTDIR="$PKG" ninja -C $SRC/$isim-$surum/build install
rm -rf $PKG/usr/share/man
}