summaryrefslogtreecommitdiff
path: root/community/renameutils/PKGBUILD
blob: 143afa37b7122dcf1efe5e1aa36672e7a46ba41a (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
# $Id: PKGBUILD 80733 2012-12-01 17:49:39Z kkeen $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Patrik Hautala <phloyd@iki.fi>

pkgname=renameutils
pkgver=0.12.0
pkgrel=2
pkgdesc="A set of programs designed to make renaming of files faster and less cumbersome"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/renameutils/"
license=('GPL')
depends=('readline')
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('cbd2f002027ccf5a923135c3f529c6d17fabbca7d85506a394ca37694a9eb4a3')

build() {
  cd "${srcdir}/$pkgname-$pkgver/src"
  sed -i 's/($bindir)/$(bindir)/' Makefile.am 
  sed -i 's/($bindir)/$(bindir)/' Makefile.in 

  cd "${srcdir}/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

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

  install -d "${pkgdir}/usr/bin"
  make DESTDIR="${pkgdir}" install
}