[arch-commits] Commit in mtools/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Jun 7 08:40:45 UTC 2022
Date: Tuesday, June 7, 2022 @ 08:40:45
Author: dvzrv
Revision: 447699
archrelease: copy trunk to extra-x86_64
Added:
mtools/repos/extra-x86_64/PKGBUILD
(from rev 447698, mtools/trunk/PKGBUILD)
Deleted:
mtools/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 99 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 51 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 08:40:32 UTC (rev 447698)
+++ PKGBUILD 2022-06-07 08:40:45 UTC (rev 447699)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=mtools
-pkgver=4.0.39
-pkgrel=1
-epoch=1
-pkgdesc="A collection of utilities to access MS-DOS disks"
-arch=(x86_64)
-url="https://www.gnu.org/software/mtools/"
-license=(GPL3)
-depends=(bash glibc)
-makedepends=(libx11 texinfo)
-optdepends=(
- 'libx11: required by floppyd'
- 'libxau: required by floppyd'
-)
-backup=(etc/$pkgname.conf)
-options=(debug)
-source=(https://ftp.gnu.org/gnu/mtools/$pkgname-$pkgver.tar.bz2{,.sig})
-sha512sums=('6f84ce57a7c088b526e3e4fa7c509f1869a55b87951134d6257533d311b4a97496c44fa374de6f8cb15c645d60b9f9745ccbdf405d0d77a30a86e31ed8d54ce4'
- 'SKIP')
-b2sums=('b1b04fa1614cf36245c60c3ef35de1869e53786dbc9a7e864278a51c9519c63b59fff9dffbd761fbc59782161ba201908b4a5b6792a7231fff6f27be2bea1d67'
- 'SKIP')
-validpgpkeys=('51A23D9D7C4DF41AA48FA893E99CF5537790B839') # Alain KNAFF <alain at knaff.lu>
-
-prepare() {
- cd $pkgname-$pkgver
- # comment entry in default config
- sed -e '/^SAMPLE FILE$/s:^:# :' -i mtools.conf
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --sysconfdir=/etc
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -vDm 644 mtools.conf -t "$pkgdir/etc/"
- install -vDm 644 {README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname"
-}
Copied: mtools/repos/extra-x86_64/PKGBUILD (from rev 447698, mtools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-07 08:40:45 UTC (rev 447699)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=mtools
+pkgver=4.0.40
+pkgrel=1
+epoch=1
+pkgdesc="A collection of utilities to access MS-DOS disks"
+arch=(x86_64)
+url="https://www.gnu.org/software/mtools/"
+license=(GPL3)
+depends=(bash glibc)
+makedepends=(libx11 texinfo)
+optdepends=(
+ 'libx11: required by floppyd'
+ 'libxau: required by floppyd'
+)
+backup=(etc/$pkgname.conf)
+options=(debug)
+source=(https://ftp.gnu.org/gnu/mtools/$pkgname-$pkgver.tar.bz2{,.sig})
+sha512sums=('c3acf8723ae207d9eccdca3c2b55aed262175328417031397c14c7120a1e02f0c52c7fefc0145dfb09fb91f1d3e63254e7a45bc7edf50b1ecc87b7cc95d2f390'
+ 'SKIP')
+b2sums=('6ae2dbd2129d48528f6a36f81f44979b2dd977729e3f3f0ab5ff4aa8d29b0841cd770e2ed12f0f772676f6bcfeb3949d4fb79e240cf1d88524bbaa6cdfb4d26e'
+ 'SKIP')
+validpgpkeys=('51A23D9D7C4DF41AA48FA893E99CF5537790B839') # Alain KNAFF <alain at knaff.lu>
+
+prepare() {
+ # comment entry in default config
+ sed -e '/^SAMPLE FILE$/s:^:# :' -i $pkgname-$pkgver/mtools.conf
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ make -k check -C $pkgname-$pkgver
+}
+
+package() {
+ make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+ install -vDm 644 $pkgname-$pkgver/mtools.conf -t "$pkgdir/etc/"
+ install -vDm 644 $pkgname-$pkgver/{README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname"
+}
More information about the arch-commits
mailing list