new blfs: dev-cpp/atkmm-2.28.4
This commit is contained in:
33
dev-cpp/atkmm-2.28.4.PKGBUILD
Normal file
33
dev-cpp/atkmm-2.28.4.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=atkmm
|
||||
pkgver=2.28.4
|
||||
_ver=${pkgver%.*}
|
||||
slot="0"
|
||||
pkgdesc="C++ interface for the ATK library"
|
||||
homepage="https://gtkmm.gnome.org/en/index.html"
|
||||
licenses=("LGPL-2.1+")
|
||||
depends=(glibmm:2 at-spi2-core libsigc++:2)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("30a714971234aebf06a04abeff5fc3b6951b56130aaddbd1a92856b3fb87cf9ba3c34539465b7f0905f871d763239642efe7904b24f33f11e57bf013e4bca533")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D build-documentation=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user