[arch-commits] Commit in libytnef/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Mon Nov 8 18:50:07 UTC 2021


    Date: Monday, November 8, 2021 @ 18:50:06
  Author: heftig
Revision: 427530

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  libytnef/repos/gnome-unstable-x86_64/
  libytnef/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 427529, libytnef/trunk/PKGBUILD)

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

Copied: libytnef/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427529, libytnef/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-11-08 18:50:06 UTC (rev 427530)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andre Klitzing <aklitzing () online () de>
+
+pkgname=libytnef
+pkgver=2.0
+pkgrel=1
+epoch=1
+pkgdesc="Yerase's TNEF Stream Reader library (decodes winmail.dat)"
+url="https://github.com/Yeraze/ytnef"
+license=(GPL)
+arch=(x86_64)
+depends=(glibc)
+makedepends=(perl git)
+optdepends=('perl: ytnefprocess')
+_commit=f80f624d373997afa3e3bfc074948b26d171d210  # tags/v2.0
+source=("git+https://github.com/Yeraze/ytnef#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ytnef
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd ytnef
+  ./autogen.sh
+}
+
+build() {
+  cd ytnef
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd ytnef
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list