Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add dummy script for AUR workflow
- Loading branch information
joshmuente
committed
Sep 13, 2021
1 parent
43e827c
commit 96f661b
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
|
||
template = """ | ||
#Maintainer: Josh Münte | ||
_pkgname='knockson' | ||
pkgname="${_pkgname}-bin" | ||
pkgver=0.5.0 | ||
pkgrel=1 | ||
pkgdesc='simple multi-threaded port scanner written in rust' | ||
arch=('x86_64') | ||
url='https://github.com/joshmuente/knockson' | ||
_url_source='https://github.com/joshmuente/knockson' | ||
license=('MIT') | ||
depends=() | ||
provides=("${_pkgname}") | ||
conflicts=("${_pkgname}") | ||
source=("${_url_source}/releases/download/v${pkgver}/${_pkgname}_v${pkgver}_${arch}-unknown-linux-musl.tar.xz") | ||
sha256sums=('165f65f6943fa5280fcecde2390f1d8f8bea6233458ea2548831b49548ddb0d7') | ||
package () { | ||
install -Dm 775 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" | ||
} | ||
""" | ||
|
||
print(template) | ||
print(os.environ) |