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:
parent
71c1c4f956
commit
74a75840a6
6
PKGBUILD
6
PKGBUILD
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user