aboutsummaryrefslogtreecommitdiffstats
path: root/sleeping-getty/PKGBUILD
blob: 7a7007ac66d38ebe67625b2deb7d6a6fbb3a645d (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=sleeping-getty
pkgver=1.0.1
pkgrel=1
pkgdesc="Do not start a fullblown getty before it is necessary"
arch=(i686 x86_64)
url="https://github.com/maandree/sleeping-getty"
license=('GPL3' 'custom:GFDL1.3')
depends=(linux glibc)
makedepends=(linux-api-headers glibc make coreutils gcc 'texinfo>=4.11')
install=$pkgname.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(f0844dc0f232fd83da1b18063e0850209996b66338120035c17c94cd8326dc31)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sbindir=/usr/bin OPTIMISE=-Os
  make
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install N=: DESTDIR="$pkgdir"
}