[arch-commits] Commit in libytnef/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:54:32 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:54:32
  Author: felixonmars
Revision: 384380

archrelease: copy trunk to staging-x86_64

Added:
  libytnef/repos/staging-x86_64/
  libytnef/repos/staging-x86_64/PKGBUILD
    (from rev 384377, libytnef/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: libytnef/repos/staging-x86_64/PKGBUILD (from rev 384377, libytnef/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 11:54:32 UTC (rev 384380)
@@ -0,0 +1,34 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andre Klitzing <aklitzing () online () de>
+
+pkgname=libytnef
+pkgver=1.9.3+7+g24fe30e
+pkgrel=2
+pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
+url="https://github.com/Yeraze/ytnef"
+license=('GPL')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('perl' git)
+optdepends=('perl: ytnefprocess.pl script')
+_commit=24fe30e592a7a840b415dbbc16ba47c7a882bb38  # master
+source=("git+https://github.com/Yeraze/ytnef/#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ytnef
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd ytnef
+  ./autogen.sh
+  autoreconf -fi
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd ytnef
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list