1
0
mirror of https://github.com/alrayyes/corrupter-arch-package synced 2023-11-14 15:56:28 +00:00

cleaned up tabs

This commit is contained in:
Ryan Kes 2019-03-24 15:47:27 +01:00
parent 71c1c4f956
commit 74a75840a6

View File

@ -14,17 +14,17 @@ md5sums=('SKIP')
source=("git+https://github.com/r00tman/${pkgname%-git}")
pkgver() {
cd "${pkgname%-git}"
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
cd "${pkgname%-git}"
go build
}
package() {
cd "${pkgname%-git}"
cd "${pkgname%-git}"
install -Dm755 corrupter "${pkgdir}/usr/bin/corrupter"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"