diff options
author | hejiang | 2021-12-07 21:03:11 +0800 |
---|---|---|
committer | hejiang | 2021-12-07 21:03:11 +0800 |
commit | 70a4dd752860e25e9e0edf283aae70ab0a721143 (patch) | |
tree | fc7eed3c53ed4fa09550dbe86efacbc0e56a86ff | |
download | aur-70a4dd752860e25e9e0edf283aae70ab0a721143.tar.gz |
update genmake-bin
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f5f07fe4a164 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = genmake-bin + pkgdesc = generate C/C++/Go Makefile template + pkgver = 0.5.0 + pkgrel = 1 + url = https://gitee.com/duapple/genmake/attach_files/904692/download/genmake + arch = x86_64 + license = AGPL-3.0 + makedepends = git + source = /template::git+https://gitee.com/duapple/makefile.git + source = https://gitee.com/duapple/genmake/attach_files/904692/download/genmake + source = https://gitee.com/duapple/genmake/attach_files/904564/download/genmake_conf.json + md5sums = SKIP + md5sums = cb3845ee35a1bea7b44daa7a9fef3aaf + md5sums = 2bb569a143fa683893369eba49e8652c + +pkgname = genmake-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..56bbb9d2b5d7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: duapple <2832893880@qq.com> + +pkgname=genmake-bin +basename=genmake +pkgver=0.5.0 +pkgrel=1 +pkgdesc="generate C/C++/Go Makefile template" +arch=('x86_64') +url="https://gitee.com/duapple/genmake/attach_files/904692/download/genmake" +license=('AGPL-3.0') +depends=() +makedepends=("git") +optdepends=() +source=("${srcdir}/template::git+https://gitee.com/duapple/makefile.git" + "${url}" + "https://gitee.com/duapple/genmake/attach_files/904564/download/genmake_conf.json") +noextract=() +md5sums=("SKIP" "cb3845ee35a1bea7b44daa7a9fef3aaf" "2bb569a143fa683893369eba49e8652c") + +prepare() { + rm -rf ${pkgname}-${pkgver} + mkdir -p ${pkgname}-${pkgver} + mv template ${pkgname}-${pkgver} + mv ${basename} ${pkgname}-${pkgver} + mv genmake_conf.json ${pkgname}-${pkgver} +} + +package() { + mkdir -p ${pkgdir}/usr/bin/ + mkdir -p ${pkgdir}/usr/share/${basename}/config + cd ${pkgname}-${pkgver} + install -Dm777 ${basename} ${pkgdir}/usr/bin/ + mv template ${pkgdir}/usr/share/${basename}/template + cp genmake_conf.json ${pkgdir}/usr/share/${basename}/config/ +}
\ No newline at end of file |