awesome.paketlendi

This commit is contained in:
milisbir 2017-08-28 06:40:46 +03:00
parent fa58ebd3c5
commit 8e776dbe8b
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Description: yüksek derece ayarlanabilir pencere yöneticisi altyapısı
# URL: https://awesomewm.org/
# Packager: milisarge
# Depends on: asciidoc cmake docbook-xsl doxygen imagemagick xmlto cairo dbus gdk-pixbuf imlib2 libxdg-basedir lua lua-lgi pango startup-notification xcb-util-cursor xcb-util-keysyms xcb-util-wm libxkbcommon xcb-util-xrm
name=awesome
version=4.2
release=1
source=(https://github.com/awesomeWM/awesome/releases/download/v4.2/awesome-4.2.tar.xz::$name-$version.tar.xz)
build() {
cd ${name}-${version}
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLUA_LIBRARY=/usr/lib/liblua.so
make
cd ..
make -C build DESTDIR="${PKG}" install
install -Dm 644 awesome.desktop -t "${PKG}/usr/share/xsessions"
}

View File

@ -0,0 +1,39 @@
# Description: Lua bindings for gnome/gobject using gobject-introspection library
# URL: https://github.com/pavouk/lgi
# Packager: milisarge
# Depends on: glib libffi lua gobject-introspection
name=lua-lgi
version=0.9.1
release=1
source=(https://github.com/pavouk/lgi/archive/$version.tar.gz::$name-$version.tar.gz)
build() {
cd lgi-$version
make
make \
LUA_LIBDIR=/usr/lib/lua/5.3 \
LUA_SHAREDIR=/usr/share/lua/5.3 \
DESTDIR="$PKG/" install
# dump typelib tool
install -Dm755 tools/dump-typelib.lua \
"$PKG/usr/bin/dump-typelib"
# docs
install -d "$PKG/usr/share/doc/$name"
install -Dm644 docs/* \
"$PKG/usr/share/doc/$name"
# samples
install -d "$PKG/usr/share/$name/samples/gtk-demo"
install -Dm644 samples/*.lua \
"$PKG/usr/share/$name/samples"
install -Dm644 samples/gtk-demo/* \
"$PKG/usr/share/$name/samples/gtk-demo"
# license
install -Dm644 LICENSE \
"$PKG/usr/share/licenses/$name/LICENSE"
}