new bblfs: dev-libs/ayatana-ido-0.10.4
This commit is contained in:
28
dev-libs/ayatana-ido-0.10.4.PKGBUILD
Normal file
28
dev-libs/ayatana-ido-0.10.4.PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
pkgname=ayatana-ido
|
||||||
|
pkgver=0.10.4
|
||||||
|
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||||
|
homepage="https://github.com/AyatanaIndicators/ayatana-ido"
|
||||||
|
license=("LGPL-2.1" "LGPL-3" "GPL-3")
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||||
|
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||||
|
sha512sums=("a36b67cb505b9340a8193e281c72831b56d6a620054e99e1032145ec0d8d26fe4768402b36ee4d7e115dbbd6fb393cc15c3d71c15d040f5eb22d3d2114f80536")
|
||||||
|
|
||||||
|
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
|
||||||
|
)
|
||||||
|
cmake -B build "${meson_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