restructure #3

Merged
wyj merged 82 commits from dev into main 2026-01-18 20:12:27 -05:00
Showing only changes of commit e5da6017c3 - Show all commits

View 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: