summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98f380a5d3457c6f36c612df955c0a9569074b39 (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
37
38
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=chrpath-svn
pkgver=r175
pkgrel=3
pkgdesc="Tool to adjust the RPATH or RUNPATH of ELF binaries"
arch=('i686' 'x86_64')
url="https://chrpath.alioth.debian.org/"
license=('GPL')
depends=('glibc')
makedepends=('subversion')
provides=("chrpath=$pkgver")
conflicts=('chrpath')
source=("svn://scm.alioth.debian.org/svn/chrpath/trunk")
sha256sums=('SKIP')


pkgver() {
  cd "trunk"

  _rev="$(svnversion | sed 's/[^0-9]+//')"
  printf "r%s" "$_rev"
}

build() {
  cd "trunk"

  ./bootstrap
  ./configure \
    --prefix="/usr"
  make
}

package() {
  cd "trunk"

  make DESTDIR="$pkgdir" docdir="/usr/share/doc/chrpath" install
}