libyaml 0.2.5-1
This commit is contained in:
commit
c35f834fcc
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=libyaml
|
||||||
|
pkgver=0.2.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="YAML 1.1 library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://pyyaml.org/wiki/LibYAML"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc')
|
||||||
|
source=(https://github.com/yaml/libyaml/releases/download/${pkgver}/${pkgname#lib}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#lib}-${pkgver}
|
||||||
|
|
||||||
|
${CONFIGURE} --disable-static
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#lib}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user