summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1fce6f208770566a60076c9bd43465fafb41ac99 (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
36
# Maintainer: Alexej Magura <agm2819*gmail*>
#
# Contributor: Douglas Thrift <douglas@douglasthrift.net>

pkgname=rpl
pkgver=1.4.1
pkgrel=13
pkgdesc="UN*X text replacement utility"
url="http://www.laffeycomputer.com/rpl.html"
license=("custom")
arch=('i686' 'x86_64')
depends=('glibc')
source=("http://downloads.laffeycomputer.com/current_builds/$pkgname-${pkgver}.tar.gz" "LICENSE")
md5sums=('2eb9c18d97040dc301bfaa8aa70e21a4' 'dccf3adbdfc376cfb813b05ecb780b70')

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

}

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make 
}

package() {
    cd "$srcdir/$pkgname-$pkgver"

    make DESTDIR=$pkgdir install

    install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/rpl/LICENSE
}