diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 13 insertions, 23 deletions
@@ -1,42 +1,32 @@ pkgname=lib32-orbit2 pkgver=2.14.19 -pkgrel=5 +_commit=144be2e9860286c83f009e7689250e0af977cc5e +pkgrel=7 pkgdesc="Thin/fast CORBA ORB (32 bit)" arch=('x86_64') url="http://www.gnome.org" license=('LGPL' 'GPL') -depends=('lib32-libidl2' 'orbit2') -makedepends=('gcc-multilib' 'gtk-doc') +depends=('orbit2' 'lib32-libidl2') +makedepends=('gcc-multilib' 'gtk-doc' 'gnome-common') options=('!libtool' '!makeflags') -source=(http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-${pkgver}.tar.bz2 - updates-until-26371ccfe.patch) -sha256sums=('55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550' - '55ccbebc03fc60f78141bbba0a0c25b52e4ca434e831f5ddcf29b2ce56b8f676') +source=("https://gitlab.gnome.org/GNOME/orbit2/-/archive/$_commit/orbit2-$_commit.tar.bz2") +sha256sums=('SKIP') prepare() { - cd ORBit2-${pkgver} - - # https://git.gnome.org/browse/ORBit2/log/ (2013-05-14) - patch -p1 -i ../updates-until-26371ccfe.patch + cd "orbit2-$_commit" + ./autogen.sh --prefix=/usr --disable-static --enable-gtk-doc \ + --enable-shared CC='gcc' CFLAGS='-m32' PKG_CONFIG_PATH='/usr/lib32/pkgconfig/' \ + -libdir=/usr/lib32 --libexecdir=/usr/lib32 \ + --with-idl-compiler=/usr/bin/orbit-idl-2 } build() { - cd ORBit2-${pkgver} - - libtoolize --force - gtkdocize - aclocal - autoreconf -i - automake - - ./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32 \ - --disable-static --enable-shared CC='gcc -m32' \ - --with-idl-compiler=/usr/bin/orbit-idl-2 + cd "orbit2-$_commit" make } package() { - cd ORBit2-${pkgver} + cd "orbit2-$_commit" make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{bin,include,share} } |