blob: 0a25f255a75fb1baecce7bf6b7d4a3db06723a6e (
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
|
# $Id: PKGBUILD 102397 2013-12-10 10:41:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Nathan Phillip Brink <binki@gentoo.org>
pkgname=libstrl
pkgver=0.5.1
pkgrel=1
pkgdesc="Implementations of certain GNU-only or BSD-only string-related libc functions, such as strlcpy() and getdelim(), for compat purposes"
url="http://ohnopub.net/~ohnobinki/libstrl"
license=('LGPL3')
arch=(i686 x86_64)
depends=()
makedepends=(doxygen libtool pkg-config)
options=(!libtool)
source=(ftp://mirror.ohnopub.net/mirror/${pkgname}-${pkgver}.tar.bz2{,.asc})
md5sums=('d22fcd8107526d802428be6f0e8f0f60'
'SKIP')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
./configure --prefix=/usr --with-doxygen
make
}
check() {
make -C "${srcdir}"/${pkgname}-${pkgver} check
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
# doxygen workaround
sed -i 's|man0/strl.h.0|man30/strl.h.30|g' Makefile
install -Dm0644 man/man30/strl.h.30 $pkgdir/usr/share/man/man0/strl.h.0
make DESTDIR="${pkgdir}" install
}
|