mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 08:47:14 +08:00
26 lines
665 B
Bash
26 lines
665 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=libbsd
|
|
pkgver=0.4.2
|
|
pkgrel=1
|
|
pkgdesc="Provides useful functions commonly found on BSD systems like strlcpy()"
|
|
arch=('x86_64')
|
|
url="http://libbsd.freedesktop.org"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('591fc9de4ca22f78cf87a94e648a92f4')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|