initial import
This commit is contained in:
23
libslirp/PKGBUILD
Normal file
23
libslirp/PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libslirp
|
||||
pkgver=4.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='General purpose TCP-IP emulator'
|
||||
arch=(i686 x86_64)
|
||||
url='https://gitlab.freedesktop.org/slirp/libslirp'
|
||||
license=(Modified-BSD)
|
||||
depends=(glib2)
|
||||
makedepends=(meson)
|
||||
source=("https://gitlab.freedesktop.org/slirp/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2")
|
||||
sha512sums=('ee65e56eac3689109a58a94af1edf9a54ad238ec42d8eb72f69d04749593b5f20190abda8ea3fb3863b24936813764804155787d3370141b1322d07950a89e89')
|
||||
|
||||
build() {
|
||||
hyperbola-meson $pkgname-v$pkgver build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
install -Dm644 $pkgname-v$pkgver/COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
|
||||
}
|
||||
Reference in New Issue
Block a user