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

Felix Yan felixonmars at archlinux.org
Fri Jan 11 07:58:37 UTC 2019


    Date: Friday, January 11, 2019 @ 07:58:36
  Author: felixonmars
Revision: 422300

archrelease: copy trunk to community-staging-x86_64

Added:
  udftools/repos/community-staging-x86_64/
  udftools/repos/community-staging-x86_64/PKGBUILD
    (from rev 422299, udftools/trunk/PKGBUILD)

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

Copied: udftools/repos/community-staging-x86_64/PKGBUILD (from rev 422299, udftools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-11 07:58:36 UTC (rev 422300)
@@ -0,0 +1,40 @@
+# 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.1
+pkgrel=2
+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')
+validpgpkeys=('B856B21074A8AE9B692B80858BF0C93D03E44352') # Pali Rohár <pali.rohar at gmail.com>
+source=("https://github.com/pali/$pkgname/releases/download/$pkgver/$pkgname-${pkgver}.tar.gz"{,.asc})
+sha256sums=('783221bcc2518ea480cee01ceeb8825db7a089f4e986b557f6460f89636142b6'
+            'SKIP')
+
+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