blob: 42d007d02313c21a8102460f43f6116e81f8a0be (
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
|
# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
pkgname=since
pkgver=1.1
pkgrel=1
pkgdesc="Tail(1) with a state"
arch=('i686' 'x86_64')
url="http://welz.org.za/projects/since"
license=('GPL3')
source=("http://welz.org.za/projects/since/$pkgname-$pkgver.tar.gz"
'since-1.1-makefile.patch')
sha256sums=('739b7f161f8a045c1dff184e0fc319417c5e2deb3c7339d323d4065f7a3d0f45'
'3d6e50abf8faf968f243ac68019766c7451f0b2a845a8e1c10dc3a79b83f2b0c')
prepare() {
cd "${pkgname}-${pkgver}"
# Fix the Makefile
patch -p1 -i ../since-1.1-makefile.patch
# User Arch Linux standard CFLAGS
sed -i 's|-Wall -O2|$(FLAGS)|g' Makefile
}
build() {
cd "${pkgname}-${pkgver}"
make FLAGS="${CFLAGS}"
}
package() {
cd "${pkgname}-${pkgver}"
make install prefix="${pkgdir}/usr"
install -Dm644 README "${pkgdir}/usr/share/doc/since/README"
}
|