summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-06-12 21:51:48 +0200
committeroli2015-06-12 21:51:48 +0200
commitc38c6f7d15cf5ca62e5c06cb8511065ae1ec9499 (patch)
tree6b50d9b7e837a22a43b981b5a034a29172121abc
downloadaur-c38c6f7d15cf5ca62e5c06cb8511065ae1ec9499.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b3863255bd1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = disktype
+ pkgdesc = a utility to detect the content format of a disk or disk image
+ pkgver = 9
+ pkgrel = 5
+ url = http://disktype.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = glibc
+ source = http://prdownloads.sourceforge.net/disktype/disktype-9.tar.gz
+ md5sums = 25a673f162b9c01cd565109202559489
+
+pkgname = disktype
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7022f422e11
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Jozef Riha <jose1711 at gmail dot com>
+
+pkgname=disktype
+pkgver=9
+pkgrel=5
+pkgdesc="a utility to detect the content format of a disk or disk image"
+url="http://disktype.sourceforge.net/"
+license=("custom")
+arch=('i686' 'x86_64')
+depends=('glibc')
+source=(http://prdownloads.sourceforge.net/disktype/disktype-9.tar.gz)
+md5sums=('25a673f162b9c01cd565109202559489')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p $pkgdir/usr/bin/ $pkgdir/usr/share/man/man1
+ gzip $srcdir/$pkgname-$pkgver/disktype.1
+ install -D -m755 disktype $pkgdir/usr/bin/
+ install -D -m644 disktype.1.gz $pkgdir/usr/share/man/man1
+ install -D -m644 LICENSE $pkgdir/usr/share/licenses/disktype/LICENSE
+}
+