EXTRA_DIST = README README.WINDOWS \
COPYING COPYING.GPLv3 COPYING.LGPLv3 COPYING.CC0 \
examples \
- archlinux debian rpm
+ debian rpm
##############################################################################
# Library #
+++ /dev/null
-# Maintainer: Eric Biggers <ebiggers3 at gmail dot com>
-
-pkgname=wimlib
-pkgver=1.12.0
-pkgrel=1
-pkgdesc="A library and program to extract, create, and modify WIM files"
-arch=("i686" "x86_64")
-url="https://wimlib.net"
-license=("custom")
-depends=("openssl" "fuse" "libxml2" "ntfs-3g")
-checkdepends=("attr")
-optdepends=("cdrkit: for making ISO image of Windows PE"
- "mtools: for making disk image of Windows PE"
- "syslinux: for making disk image of Windows PE"
- "cabextract: for extracting Windows PE from the WAIK")
-source=("https://wimlib.net/downloads/$pkgname-$pkgver.tar.gz")
-
-build() {
- cd "$pkgname-$pkgver"
- ./configure --with-libcrypto --with-fuse --with-ntfs-3g --prefix=/usr
- make
-}
-
-check() {
- cd "$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- for file in NEWS README; do
- install -Dm644 $file "$pkgdir/usr/share/doc/$pkgname/$file"
- done
- for file in COPYING*; do
- install -Dm644 $file "$pkgdir/usr/share/licenses/$pkgname/$file"
- done
-}
sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/;1s/wimlib $oldver/wimlib $newver/" \
doc/man[1-9]/*.[1-9]
-sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD
-
sed -i "1i\\
wimlib ($newver-1) unstable; urgency=low\\
\\