summaryrefslogtreecommitdiffstats
path: root/xz
diff options
context:
space:
mode:
Diffstat (limited to 'xz')
-rw-r--r--xz/.sha256sum1
-rw-r--r--xz/Pkgfile21
2 files changed, 13 insertions, 9 deletions
diff --git a/xz/.sha256sum b/xz/.sha256sum
new file mode 100644
index 0000000..09e0b4f
--- /dev/null
+++ b/xz/.sha256sum
@@ -0,0 +1 @@
+ce841880bd2dbcd4bdf7198861b62fb15b73034de215e3eaeb6a2cfda84c14c1 xz-4.999.9beta-212-gacbc.tar.gz
diff --git a/xz/Pkgfile b/xz/Pkgfile
index 72b9229..1a9367a 100644
--- a/xz/Pkgfile
+++ b/xz/Pkgfile
@@ -1,18 +1,21 @@
-description="Compression utility using the lzma algorithm, successor of lzma-utils"
-packager=""
-maintainer="Juergen Daubert, juergen dot daubert at t-online dot de"
+description="Compression utility using the lzma algorithm, successor of lzma-utils."
+packager="Juergen Daubert <juergen DOT daubert AT t-online DOT de>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://tukaani.org/xz/"
depends=()
name=xz
version=4.999.9beta-212-gacbc
release=1
-source=(http://crux.nu/files/distfiles/xz-4.999.9beta-212-gacbc.tar.gz)
+source=(http://crux.nu/files/distfiles/$name-$version.tar.gz)
build ()
{
- cd $name-$version;
- ./configure --prefix=/usr --mandir=/usr/man --disable-nls --enable-dynamic;
- make;
- make DESTDIR=$PKG install;
- rm -r $PKG/usr/share
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ $(use_enable nls) \
+ --enable-dynamic;
+ make;
+ make DESTDIR=$PKG install;
}