Christoph Reiter b38b2b78f4 Remove all cygwin CHOST changes
Since #5448 CHOST defaults to cygwin now, so this
is no longer needed.
2025-06-27 07:42:37 +02:00

35 lines
865 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=lndir
pkgver=1.0.5
pkgrel=1
pkgdesc="Create a shadow directory of symbolic links to another directory tree"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorgproto' 'autotools' 'gcc')
source=(https://xorg.freedesktop.org/archive/individual/util/$pkgname-$pkgver.tar.xz)
sha256sums=('3b65577a5575cce095664f5492164a96941800fe6290a123731d47f3e7104ddb')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
export MSYSTEM=CYGWIN
./configure --build=${CHOST} \
--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"
}