# Maintainer: AlphaJack # Contributor: John Doe # Contributor: Lukas Jirkovsky # Contributor: Thomas S Hatch # Contributor: Daniel J Griffiths # Contributor: Tom Newsom pkgname="aide" pkgver=0.18.6 pkgrel=1 pkgdesc="A file integrity checker and intrusion detection program" arch=("x86_64" "armv7h" "aarch64") url="https://aide.github.io/" license=("GPL") depends=("acl" "e2fsprogs" "libelf" "mhash" "pcre") source=("https://github.com/aide/aide/releases/download/v$pkgver/aide-$pkgver.tar.gz"{,.asc} \ "aide.conf" "aidecheck.service" "aidecheck.timer") b2sums=('63bb647100820ee1846f8a0585ea8d94e1b7cea1ae593e2d079aea967cf6e2dceb1c92aa9250b1950dac4629326ebf85ac6e7cf2524fa1cf1757b568dad38ed4' 'SKIP' '2e16baf306dcbe5d5207685391bb3e77b80a8caafaeafee3094228ee19671092afc042762523663a1d5155341a5d190c5e6c355d639e1a840efddf56047c05bc' 'fcae2514bffcfe8c2110c8b82d857f39de8c95e0d7d2788bb4945243c127c9566871606b9e4bca39034b624c7bd579f46ed88cb0b86830d6ff16ff1fbb04b081' 'af16bbf1d69226d445820ba1e7beaba8142a19eb3120f5b58db048083d94ec22f857a28dfe403bd885aafe31b748a10ce9de759480947d4b34b29e2b1a678071') validpgpkeys=("2BBBD30FAAB29B3253BCFBA6F6947DAB68E7B931") # Hannes von Haugwitz backup=("etc/aide.conf") install="aide.install" build(){ cd "$pkgname-$pkgver" ./configure \ --prefix="/usr" \ --sysconfdir="/etc" \ --with-posix-acl \ --with-xattr \ --with-zlib \ --with-e2fsattrs \ --disable-static make } package(){ cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -d -m 700 "$pkgdir/var/lib/aide" install -d -m 700 "$pkgdir/var/log/aide" install -D -m 600 "$srcdir/aide.conf" "$pkgdir/etc/aide.conf" install -D -m 644 "$srcdir/aidecheck.service" -t"$pkgdir/usr/lib/systemd/system" install -D -m 644 "$srcdir/aidecheck.timer" -t "$pkgdir/usr/lib/systemd/system" }