blob: 2da5cb80f5ee454d0767f2e78cd40e8553ac7ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Previous Maintainer: Andy Weidenbaum <archbaum@gmail.com>
# Maintainer: Elmar Klausmeier <Elmar.Klausmeier@gmail.com>
# Contributor: Andrew Boktor <andrew.boktor@gmail.com>
# Contributor: Dmitry Kharitonov <darksab0r@gmail.com>
pkgname=makedepend
pkgver=1.0.9
pkgrel=1
pkgdesc="Create dependencies in Makefiles"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
#old: url="http://www.linuxfromscratch.org/blfs/view/7.4/x/makedepend.html"
url="https://xorg.freedesktop.org/archive/individual/util/"
license=('custom')
depends=('splint')
makedepends=('autoconf'
'automake'
'm4'
'make'
'pkg-config'
'xorg-util-macros'
'xorgproto')
source=(http://xorg.freedesktop.org/archive/individual/util/$pkgname-$pkgver.tar.gz)
sha256sums=('bc94ffda6cd4671603a69c39dbe8f96b317707b9185b2aaa3b54b5d134b41884')
conflicts=('imake')
build() {
cd "$srcdir/$pkgname-$pkgver"
msg2 'Building...'
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/makedepend \
--sysconfdir=/etc \
--sharedstatedir=/usr/share/makedepend \
--localstatedir=/var/lib/makedepend \
--with-lint
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
msg2 'Installing license...'
install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/makedepend"
msg2 'Installing...'
make DESTDIR="$pkgdir" install
}
|