core/at-spi2-core/PKGBUILD

39 lines
974 B
Bash
Raw Normal View History

pkgname=at-spi2-core
2017-10-26 02:42:06 +08:00
pkgver=2.26.0
2015-01-05 21:55:25 +08:00
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
arch=('x86_64')
url="http://www.gnome.org"
license=('GPL2')
depends=('dbus-core' 'glib2' 'libxtst')
depends=(dbus glib2 libxtst)
makedepends=(intltool gobject-introspection git gtk-doc meson)
_commit=ff911c5dcb5553605b7fa83cae5494de1407ce33 # tags/AT_SPI2_CORE_2_26_0^0
source=("git+https://git.gnome.org/browse/at-spi2-core#commit=$_commit"
'0001-meson-Actually-use-the-soversion.patch')
sha256sums=('SKIP'
'36f67a3a20bdb63f3ee2199634962a7e93f323d481f8da5801f3ad2a533a9d8e')
pkgver() {
cd $pkgname
2017-10-26 02:42:06 +08:00
git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
}
prepare() {
mkdir build
cd $pkgname
git apply -3 ../0001-meson-Actually-use-the-soversion.patch
}
build() {
cd build
meson setup --prefix=/usr --buildtype=release ../$pkgname \
--sysconfdir=/etc
ninja
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
}