new bblfs: dev-libs/libayatana-appindicator-0.5.94
This commit is contained in:
33
dev-libs/libayatana-appindicator-0.5.94.PKGBUILD
Normal file
33
dev-libs/libayatana-appindicator-0.5.94.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=libayatana-appindicator
|
||||
pkgver=0.5.94
|
||||
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||
homepage="https://github.com/AyatanaIndicators/libayatana-appindicator"
|
||||
license=(GPL-3 LGPL-2 LGPL-3)
|
||||
depends=("glib" "gtk+:3[introspection]" "libdbusmenu[gtk3]" "libayatana-indicator")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("4bd251dd56601dfb99b0085cc272118680c9145cdac671ad6695ef3200e582343a07e99dc30f5a72b586b6e2e60de0042d4a95b9d9eeafa7695b0afe2425dba4")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D ENABLE_TESTS=false
|
||||
-D ENABLE_GTKDOC=OFF
|
||||
-D ENABLE_BINDINGS_MONO=OFF
|
||||
-D FLAVOUR_GTK2=OFF
|
||||
-D FLAVOUR_GTK3=ON
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user