diff options
author | N. Izumi | 2015-06-11 13:59:22 +0800 |
---|---|---|
committer | N. Izumi | 2015-06-11 14:00:09 +0800 |
commit | a68f0dd5ef7931e68ba9898b890c2a3d7546117c (patch) | |
tree | 23b285c5cbd3e76e041bddacd95973d43bf9ab6b | |
download | aur-a68f0dd5ef7931e68ba9898b890c2a3d7546117c.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2c45981bb692 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ddpt + pkgdesc = Variant of the standard 'dd' for SCSI/storage devices + pkgver = 0.95 + pkgrel = 1 + url = http://sg.danny.cz/sg/ddpt.html + arch = i686 + arch = x86_64 + license = BSD + depends = sg3_utils + source = http://sg.danny.cz/sg/p/ddpt-0.95.tar.xz + sha1sums = 611cd93e6457abc7fc09f63ff7cb6e797ff74abd + sha256sums = 1bfd63c96d7da65164a7ee5f85c50eefe9bc336709036821d7f456329714669a + +pkgname = ddpt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e4b79b2474ce --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Dmitry Nosachev - quartz64 at gmail dot com +# Maintainer: N. Izumi - izmntuk +pkgname=ddpt +pkgver=0.95 +pkgrel=1 +pkgdesc="Variant of the standard 'dd' for SCSI/storage devices" +arch=('i686' 'x86_64') +url="http://sg.danny.cz/sg/ddpt.html" +license=('BSD') +depends=('sg3_utils') +source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz) + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}/" + install -d "${pkgdir}/usr/share/"{doc,licenses}/"${pkgname}" + install -m644 AUTHORS ChangeLog CREDITS README TODO doc/ddpt_examples.txt "${pkgdir}/usr/share/doc/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}" +} + +sha1sums=('611cd93e6457abc7fc09f63ff7cb6e797ff74abd') +sha256sums=('1bfd63c96d7da65164a7ee5f85c50eefe9bc336709036821d7f456329714669a') |