summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75a03eb683914893dd4649e6e2fd7ddb655d3831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=sgrep
pkgver=1.94a
pkgrel=1
pkgdesc=""
url=""
arch=('i686' 'x86_64')
license=('')
depends=('glibc')
source=("https://fossies.org/linux/misc/old/$pkgname-$pkgver.tar.gz")
md5sums=('8cdd044602061b0ecd3e610fde655a3f')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr \
              --datadir=/usr/share/$pkgname \
              --mandir=/usr/share/man
  make
}

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