Date: Tuesday, February 21, 2023 @ 15:20:02
  Author: blakkheim
Revision: 1403274

archrelease: copy trunk to community-testing-x86_64

Added:
  fdm/repos/community-testing-x86_64/
  fdm/repos/community-testing-x86_64/PKGBUILD
    (from rev 1403273, fdm/trunk/PKGBUILD)

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

Copied: fdm/repos/community-testing-x86_64/PKGBUILD (from rev 1403273, 
fdm/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2023-02-21 15:20:02 UTC (rev 1403274)
@@ -0,0 +1,36 @@
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Jeff Mickey <[email protected]>
+# Contributor: Grigorios Bouzakis <[email protected]>
+# Contributor: Stephen Gregoratto <[email protected]>
+
+pkgname=fdm
+pkgver=2.2
+pkgrel=2
+pkgdesc='Program to fetch mail and deliver it in various ways'
+url='https://github.com/nicm/fdm'
+license=('BSD')
+arch=('x86_64')
+depends=('openssl' 'pcre2' 'tdb' 'zlib')
+source=("https://github.com/nicm/fdm/releases/download/${pkgver}/fdm-${pkgver}.tar.gz";)
+sha256sums=('53aad117829834e21c1b9bf20496a1aa1c0e0fb98fe7735e1e73314266fb6c16')
+
+options=('!makeflags')
+
+build() {
+       cd "${pkgname}-${pkgver}"
+       ./configure --prefix=/usr --enable-pcre2
+       make
+}
+
+package() {
+       cd "${pkgname}-${pkgver}"
+
+       make DESTDIR="${pkgdir}" install
+
+       install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+       sed '3,17p;d' fdm.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+       install -d "${pkgdir}/usr/share/doc/${pkgname}"
+       cp -a examples MANUAL "${pkgdir}/usr/share/doc/${pkgname}"
+}

Reply via email to