34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=pkgfile
|
|
pkgver=21
|
|
pkgrel=1
|
|
pkgdesc="A pacman .files metadata explorer"
|
|
arch=('i686' 'x86_64')
|
|
url="https://github.com/falconindy/pkgfile"
|
|
license=('Expat')
|
|
depends=('libarchive' 'curl' 'pcre' 'pacman')
|
|
makedepends=('meson')
|
|
optdepends=('cron: to execute scheduled jobs')
|
|
backup=('etc/cron.daily/pkgfile')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/falconindy/pkgfile/archive/refs/tags/v$pkgver.tar.gz"
|
|
"pkgfile.cron.daily")
|
|
install=pkgfile.install
|
|
sha512sums=('657222f530b110185bc8343d54e1e236bd9ef8aac0e07cb444e304b92e91897fae4f5784a5a48ce8dc6bcae74401c83d12ec93eaa91ce026f4185071e30015b7'
|
|
'bcb8487d76f893a0b039adeb2d29e5bc5905c8d7cab170c5abdcbad8c2d2744eb865aa78e1cdb5c755b81616041249ec7c5b3029b8c525c31c80424de119cfa6')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
hyperbola-meson build -D systemd_units=false
|
|
ninja -v -C build
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
DESTDIR=$pkgdir ninja -C build install
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
install -Dm744 "$srcdir/pkgfile.cron.daily" "$pkgdir/etc/cron.daily/pkgfile"
|
|
}
|