summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06ddfa8f1b761641276d03a54e964659ad1502fe (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
# Maintainer: mastero23 <mastero23 at gmail dot com>

pkgname=lndir
pkgver=1.0.3
pkgrel=1
pkgdesc="Create a shadow directory of symbolic links to another directory tree"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
conflicts=('imake')
source=(http://xorg.freedesktop.org/archive/individual/util/$pkgname-$pkgver.tar.bz2)
md5sums=('a47bcd6cecda1a6ebd3395926ea4f53a')

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

  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --localstatedir=/var
  make
}

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

  make DESTDIR="$pkgdir/" install  
  install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}