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

Christian Hesse eworm at archlinux.org
Wed Jan 6 15:14:45 UTC 2021


    Date: Wednesday, January 6, 2021 @ 15:14:44
  Author: eworm
Revision: 810900

archrelease: copy trunk to community-testing-x86_64

Added:
  udftools/repos/community-testing-x86_64/
  udftools/repos/community-testing-x86_64/PKGBUILD
    (from rev 810899, udftools/trunk/PKGBUILD)

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

Copied: udftools/repos/community-testing-x86_64/PKGBUILD (from rev 810899, udftools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-01-06 15:14:44 UTC (rev 810900)
@@ -0,0 +1,39 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: lucck <lucck at ep.com.pl>
+# Contributor: aksr <aksr at t-com dot me>
+
+pkgname=udftools
+pkgver=2.3
+pkgrel=1
+pkgdesc='Linux tools for UDF filesystems and DVD/CD-R(W) drives'
+url='https://github.com/pali/udftools'
+arch=('x86_64')
+license=('GPL')
+depends=('ncurses' 'readline')
+makedepends=('systemd')
+source=("https://github.com/pali/$pkgname/releases/download/$pkgver/$pkgname-${pkgver}.tar.gz")
+sha256sums=('750dcf5c797765eb42265e0a56d1a99f97f94b7f6f4534263a5410503f0caf59')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  sed -i 's|/lib/|$(libdir)/|' pktsetup/Makefile.am
+  autoreconf -fi
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list