summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f794eb902c75525e25ba70b1e48a3afa3b8264c (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
# Maintainer: S├ębastien Luttringer

pkgname=mailboot
pkgver=3
pkgrel=2
pkgdesc='Send an email when your computer boot'
arch=('any')
url='https://github.com/seblu/mailboot'
license=('GPL')
depends=('bash' 'systemd' 'sed')
backup=('etc/mailboot.conf')
source=("https://github.com/seblu/mailboot/releases/download/v3/mailboot-$pkgver.tar.xz")
md5sums=('4e17ee95cfc560b16dd0dfff1fa89b61')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd $pkgname-$pkgver
  make install DESTDIR="$pkgdir"
  # license is well gpl, remove it
  rm "$pkgdir/usr/share/doc/mailboot/LICENSE"
}

# vim:set ts=2 sw=2 et: