blob: f367ec2ae7299c935f9ee11b403d3adca5f6472d (
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
|
# Maintainer: Thomas Weißschuh <thomas t-8ch de>
pkgname=lastlog2
pkgver=1.1.0
pkgrel=1
pkgdesc="Y2038 safe version of lastlog. Includes liblastlog2"
arch=('x86_64')
url="https://github.com/thkukuk/lastlog2"
license=('custom:BSD-2-Clause')
depends=('pam' 'sqlite' 'glibc')
makedepends=('meson' 'libxslt' 'docbook-xsl')
source=(
$pkgname-$pkgver.tar.xz::https://github.com/thkukuk/lastlog2/releases/download/v$pkgver/lastlog2-$pkgver.tar.xz
)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
arch-meson build
meson compile -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson install -C build --destdir "$pkgdir"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson test -C build
}
sha256sums=('3896fb0db3a13ecf4bc8cfc9ab89dec54383b8c35ec1b5f587de7c040085ce2b')
|