diff options
author | Erich Eckner <git@eckner.net> | 2018-12-19 13:48:00 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-12-29 14:26:06 +0100 |
commit | 7eef8d2598714a24b1542b56c56fa76d89a2ca6c (patch) | |
tree | d7da872483c04ee85e8e862f7182fef597478aa1 | |
parent | af952e22c4161506205f669796b25d8356eddae8 (diff) | |
download | archlinuxewe-7eef8d2598714a24b1542b56c56fa76d89a2ca6c.tar.xz |
dd-resume new
-rwxr-xr-x | dd-resume/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dd-resume/PKGBUILD b/dd-resume/PKGBUILD new file mode 100755 index 000000000..2af403f36 --- /dev/null +++ b/dd-resume/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +pkgname=dd-resume +pkgver=0.0 +pkgrel=1 +pkgdesc='resumably copy with dd via network' +arch=('any') +url="https://git.eckner.net/Erich/${pkgname}" +license=('GPL') +depends=() +makedepends=('help2man') +source=( + "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz" +) +sha512sums=('9daae6bbea7ba9801eac1cefca656715ea100b52dcc65c36c7b9ffad11cc116a5468ea8e0fa4ed746981876ffca4da3f7b89598e983f2dd4b8b79ed369f11925') + +build() { + + cd ${pkgname}-${pkgver} + make + +} + +package() { + + cd ${pkgname}-${pkgver} + depends+=( + $( + ./${pkgname} --required | \ + xargs -rn1 which | \ + xargs -rn1 pacman -Qqo + ) + ) + make DESTDIR=${pkgdir} install + +} |