blob: 4448424e81cb09c33d1ceb41c01b4c8d294f9f67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Martin Schwan <mschwan@posteo.de>
pkgname=partup
pkgver=2.2.0
pkgrel=1
pkgdesc="System initialization program formatting and writing flash devices"
arch=(x86_64)
url="https://github.com/phytec/partup"
license=(GPL3)
depends=(
dosfstools
e2fsprogs
glib2
libyaml
parted
squashfs-tools
tar
util-linux
)
makedepends=(
meson
pkgconf
)
source=("https://github.com/phytec/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=("466cd7e1bd6cdab3a379ec3e46d13432578b8e3ddee7faf32d7af68c58982a64")
prepare() {
cd $pkgname-$pkgver
}
build() {
arch-meson $pkgname-$pkgver build
meson compile -C build
}
check() {
meson test --suite user -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|