summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatalia Portillo2019-10-25 23:51:17 +0100
committerNatalia Portillo2019-10-25 23:51:17 +0100
commita63b52c6f9710bbe179a25d3ef7162be1618b561 (patch)
tree66c209e521cba8f59834162b07e079c538e7fe41
downloadaur-discimagechef.tar.gz
Initial commit.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
-rwxr-xr-xdiscimagechef.sh2
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0be7af8498e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = discimagechef
+ pkgdesc = Disc image management and creation tool for disks, tapes, optical and solid state media
+ pkgver = 4.5.1.1692
+ pkgrel = 1
+ url = http://www.discimagechef.app
+ arch = any
+ license = GPL
+ depends = mono
+ provides = discimagechef
+ options = !strip
+ source = https://github.com/discimagechef/DiscImageChef/releases/download/v4.5.1.1692/DiscImageChef-4.5.1.1692.zip
+ source = https://github.com/discimagechef/DiscImageChef/releases/download/v4.5.1.1692/DiscImageChef-4.5.1.1692.zip.asc
+ source = discimagechef.sh
+ validpgpkeys = 236F1E21B540FC0D40F7AD1751D20488C724CA9F
+ sha256sums = f0eeadb1c963e26f6b661943dd73c070e469a27c143e11b7bdf59b1da47cb37a
+ sha256sums = SKIP
+ sha256sums = f55f4b5a861856473b21edd5ee7edd3605bf225186af1fdffad9b553789542bb
+
+pkgname = discimagechef
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac42fcf81bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Natalia Portillo <claunia@claunia.com>
+packager='Natalia Portillo <claunia@claunia.com>'
+pkgname='discimagechef'
+pkgver=4.5.1.1692
+pkgrel=1
+pkgdesc='Disc image management and creation tool for disks, tapes, optical and solid state media'
+arch=('any')
+url='http://www.discimagechef.app'
+license=('GPL')
+source=('https://github.com/discimagechef/DiscImageChef/releases/download/v4.5.1.1692/DiscImageChef-4.5.1.1692.zip'
+ 'https://github.com/discimagechef/DiscImageChef/releases/download/v4.5.1.1692/DiscImageChef-4.5.1.1692.zip.asc'
+ 'discimagechef.sh')
+depends=('mono')
+options=('!strip')
+sha256sums=('f0eeadb1c963e26f6b661943dd73c070e469a27c143e11b7bdf59b1da47cb37a'
+ 'SKIP'
+ 'f55f4b5a861856473b21edd5ee7edd3605bf225186af1fdffad9b553789542bb')
+validpgpkeys=('236F1E21B540FC0D40F7AD1751D20488C724CA9F')
+provides=('discimagechef')
+
+package() {
+ cd "${srcdir}"
+
+ # Create destination directory
+ install -d -m0755 -g 0 "${pkgdir}"/opt/DiscImageChef
+
+ # Copy .NET binary
+ install -m0755 -g 0 -t "${pkgdir}"/opt/DiscImageChef DiscImageChef.exe
+
+ # Copy .NET dependencies
+ install -m0755 -g 0 -t "${pkgdir}"/opt/DiscImageChef *.dll
+
+ # Copy .NET configuration files
+ install -m0644 -g 0 -t "${pkgdir}"/opt/DiscImageChef *.config
+
+ # Copy documentation
+ install -m0644 -g 0 -t "${pkgdir}"/opt/DiscImageChef *.md
+ install -m0644 -g 0 -t "${pkgdir}"/opt/DiscImageChef LICENSE*
+
+ # Install launcher
+ install -d -m0755 -g 0 "${pkgdir}"/usr/bin
+ install -m0755 -g 0 -T discimagechef.sh "${pkgdir}"/usr/bin/discimagechef
+}
diff --git a/discimagechef.sh b/discimagechef.sh
new file mode 100755
index 00000000000..a91dddf2ac4
--- /dev/null
+++ b/discimagechef.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+mono /opt/DiscImageChef/DiscImageChef.exe $@ \ No newline at end of file