32 lines
961 B
Bash
32 lines
961 B
Bash
# 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=umockdev
|
|
pkgver=0.18.1
|
|
pkgrel=1
|
|
pkgdesc="Record/mock hardware devices for bug reports and regression tests"
|
|
arch=('x86_64')
|
|
url="https://github.com/martinpitt/umockdev/"
|
|
license=('LGPL')
|
|
depends=('systemd' 'libgudev' 'libpcap' 'vala')
|
|
makedepends=('meson')
|
|
source=(https://github.com/martinpitt/umockdev/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(651b6869033bb1488136ed73c58e9245f5b01856261e1cea041030b83fb1ed7c)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
meson setup build --prefix=/usr --buildtype=release
|
|
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
meson install -C build --destdir ${pkgdir}
|
|
}
|