[arch-commits] Commit in libytnef/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Thu Oct 27 12:17:56 UTC 2016
Date: Thursday, October 27, 2016 @ 12:17:56
Author: jgc
Revision: 279324
upgpkg: libytnef 1.8-1
Update to 1.8, move to new upstream
Modified:
libytnef/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-27 11:00:11 UTC (rev 279323)
+++ PKGBUILD 2016-10-27 12:17:56 UTC (rev 279324)
@@ -3,24 +3,25 @@
# Contributor: Andre Klitzing <aklitzing () online () de>
pkgname=libytnef
-pkgver=1.5
-pkgrel=4
+pkgver=1.8
+pkgrel=1
pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
-url="http://freshmeat.net/projects/ytnef/"
+url="https://github.com/Yeraze/ytnef"
license=('GPL')
arch=('i686' 'x86_64')
depends=('glibc')
-source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz")
-md5sums=('6c44b955f33cf714c75a7bbe895cc352')
+source=(https://github.com/Yeraze/ytnef/archive/v${pkgver}.tar.gz)
+sha256sums=('f486a9a020ba8be1c0aa110d0ed0b5fd257f72943b0dbe16006ea065e89f3dd2')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ytnef-${pkgver}/ytneflib
+ ./autogen.sh
+ autoreconf -fi
./configure --prefix=/usr --disable-static
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- rm -f "${pkgdir}/usr/lib/libytnef.a"
+ cd ytnef-${pkgver}/ytneflib
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list