initial import
This commit is contained in:
22
libmpack/PKGBUILD
Normal file
22
libmpack/PKGBUILD
Normal file
@@ -0,0 +1,22 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libmpack
|
||||
pkgver=1.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="Simple implementation of msgpack in C"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/libmpack/libmpack"
|
||||
license=('Expat')
|
||||
source=(https://github.com/libmpack/libmpack/archive/${pkgver}.tar.gz)
|
||||
sha512sums=('6e30edafcacfb580b410bc6749ed7fe8f18b3be0cb98959339853e77bc3ec0cda6df08a0f1f22768cfc773458a2ea6bcef4f0421eea55cf56c58981d13711a04')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" PREFIX=/usr install
|
||||
install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user