1 # Maintainer: Thorsten Töpper <atsutane-aur@freethoughts.de>
6 pkgdesc="A portable framework for the Objective C language."
8 url="https://webkeks.org/objfw"
9 license=('custom:QPL' 'GPL2' 'GPL3')
12 replaces=('libobjfw-hg')
13 depends=('gcc-libs' 'sh')
14 makedepends=('mercurial' 'gcc-objc')
15 optdepends=('gcc-objc: For active usage of this framework.')
17 _hgroot=https://webkeks.org/hg
23 if [ -d "$_hgrepo" ]; then
27 hg clone "$_hgroot/$_hgrepo"
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_hgrepo-build"
34 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
35 cd "$srcdir/$_hgrepo-build"
38 ./configure --prefix=/usr
43 cd "$srcdir/$_hgrepo-build"
44 make DESTDIR=${pkgdir} install
46 install -Dm644 LICENSE.QPL "$pkgdir/usr/share/licenses/$pkgname/LICENSE.QPL"
49 # vim:set ts=2 sw=2 et: