summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75e4b9a4331e703c5f2d98b7ab9fdbf6f8079243 (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
# Maintainer: Philipp Claßen <philipp.classen@posteo.de>
pkgname=since
pkgver=1.1
pkgrel=1
pkgdesc="A stateful tail command"
arch=('i686' 'x86_64')
url="https://github.com/philipp-classen/since"
license=('GPL')

depends=(glibc)
makedepends=(gcc)
source=(https://github.com/philipp-classen/since/releases/download/1.1/since-${pkgver}.tar.gz)
md5sums=('7a6cfe573d0d2ec7b6f53fe9432a486b')
sha256sums=('739b7f161f8a045c1dff184e0fc319417c5e2deb3c7339d323d4065f7a3d0f45')

build() {
  cd since-${pkgver}
  make
}

package() {
  cd since-${pkgver}

  # workaround: prefix is hard-coded in the Makefile
  sed --in-place "s_prefix=/usr/local__" Makefile
  make prefix="$pkgdir/usr" install
}