diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,7 +3,7 @@ | |||
3 | # Contributor: lxsycht <lux@systemli.org> | 3 | # Contributor: lxsycht <lux@systemli.org> |
4 | 4 | ||
5 | pkgname=metadata-cleaner | 5 | pkgname=metadata-cleaner |
6 | pkgver=2.4.0 | 6 | pkgver=2.5.0 |
7 | pkgrel=1 | 7 | pkgrel=1 |
8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" | 8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" |
9 | arch=('x86_64') | 9 | arch=('x86_64') |
@@ -13,17 +13,17 @@ depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') | |||
13 | makedepends=('itstool' 'meson') | 13 | makedepends=('itstool' 'meson') |
14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli') | 14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse' 'python-tomli') |
15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | 15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") |
16 | sha256sums=('c2cdf6c8ecc1f7e42f044b751fb72c71932e8370478d9156c71fa0ed6412974f') | 16 | sha256sums=('9caedeb8e0f02c619608e6b105960d2539053c0584706de99acfa30868974e68') |
17 | 17 | ||
18 | build() { | 18 | build() { |
19 | arch-meson "$pkgname-v$pkgver" build | 19 | arch-meson "$pkgname-v$pkgver" "$pkgname-$pkgver" |
20 | meson compile -C build | 20 | meson compile -C "$pkgname-$pkgver" |
21 | } | 21 | } |
22 | 22 | ||
23 | check() { | 23 | check() { |
24 | meson test -C build --print-errorlogs | 24 | meson test -C "$pkgname-$pkgver" --print-errorlogs |
25 | } | 25 | } |
26 | 26 | ||
27 | package() { | 27 | package() { |
28 | meson install -C build --destdir "$pkgdir" | 28 | meson install -C "$pkgname-$pkgver" --destdir "$pkgdir" |
29 | } | 29 | } |