mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 01:04:38 +08:00
24 lines
653 B
Bash
24 lines
653 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/confuse
|
|
|
|
pkgname=confuse
|
|
pkgver=2.8
|
|
pkgrel=1
|
|
pkgdesc="C-library for parsing configuration files"
|
|
arch=('x86_64')
|
|
url="http://www.nongnu.org/confuse"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
source=("https://github.com/martinh/libconfuse/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
options=('!emptydirs')
|
|
md5sums=('e94ade0372a43e80b35031046bbc2a33')
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --enable-shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|