Last active
December 26, 2015 07:19
-
-
Save weynhamz/7114197 to your computer and use it in GitHub Desktop.
PKGBUILD of dotploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Techlive Zheng <techlivezheng at gmail dot com> | |
# Contributor: Maxim Chervonny <[email protected]> | |
pkgname=dotploy | |
pkgdesc="A bash only script to deploy $HOME dot files acrossing different hosts" | |
pkgver=0.3.3 | |
pkgrel=1 | |
url="https://github.com/techlivezheng/dotploy" | |
arch=('any') | |
license=('GPL') | |
source=(https://github.com/techlivezheng/dotploy/archive/"${pkgname}"-v"${pkgver}".tar.gz) | |
depends=('bash') | |
makedepends=('git' 'perl') | |
build() { | |
cd "${srcdir}"/"${pkgname}"-"${pkgname}"-v"${pkgver}" | |
make standalone | |
sed -i 's/dotploy\.sh/dotploy/g' dotploy | |
} | |
check() { | |
cd "${srcdir}"/"${pkgname}"-"${pkgname}"-v"${pkgver}" | |
sed -i 's/dotploy\.sh/dotploy/g' tests/test-dotploy.sh | |
make test | |
} | |
package() { | |
cd "${srcdir}"/"${pkgname}"-"${pkgname}"-v"${pkgver}" | |
install -D -m 0755 dotploy "${pkgdir}"/usr/bin/dotploy | |
} | |
md5sums=('d4b5a074030488dc29878cb7e7f1bcbc') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment