new bblfs: dev-libs/libayatana-indicator-0.9.4
This commit is contained in:
32
dev-libs/libayatana-indicator-0.9.4.PKGBUILD
Normal file
32
dev-libs/libayatana-indicator-0.9.4.PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
pkgname=libayatana-indicator
|
||||
pkgver=0.9.4
|
||||
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||
homepage="https://github.com/AyatanaIndicators/libayatana-indicator"
|
||||
license=("GPL-3")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("56efbe0eb14abf38cb7e270ae093b5fb41dab652eab6fa0d3f7972b09b0f2404e3ec7fbb3059c0b26802fffc628f5ace16a33db306f97a65ae42cf65494a56dc")
|
||||
|
||||
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 FLAVOUR_GTK2=OFF
|
||||
-D FLAVOUR_GTK3=ON
|
||||
-D ENABLE_IDO=ON
|
||||
-D ENABLE_LOADER=ON
|
||||
-D ENABLE_TESTS=false
|
||||
)
|
||||
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