diff options
author | DevHyperCoder | 2021-03-09 13:05:59 +0530 |
---|---|---|
committer | DevHyperCoder | 2021-03-09 13:05:59 +0530 |
commit | 97c21b132b49022a2a2aa81680eb6b1d4140b185 (patch) | |
tree | fda2ae233ff8f846146780983033d362706f0043 | |
download | aur-alpc-git.tar.gz |
v1.0.0
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9f5ab637291e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = alpc-git + pkgdesc = Aviation Language Phonetic Converter + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/DevHyperCoder/alpc + arch = x86_64 + license = GPL + makedepends = git + makedepends = rust + makedepends = cargo + provides = alpc-git-git + conflicts = alpc-git-git + source = git+https://github.com/DevHyperCoder/alpc.git + md5sums = SKIP + +pkgname = alpc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f7b437af859 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: DevHyperCoder <arduinoleo88 at gmail dot com> + +pkgname=alpc-git +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Aviation Language Phonetic Converter" +arch=('x86_64') +url="https://github.com/DevHyperCoder/alpc" +license=('GPL') +groups=() +depends=() +makedepends=('git' 'rust' 'cargo' ) +provides=("${pkgname}-git") +conflicts=("${pkgname}-git") +replaces=() +backup=() +options=() +source=("git+https://github.com/DevHyperCoder/alpc.git") +noextract=() +md5sums=('SKIP') + +build() { + cd alpc + cargo build --release +} + + +package() { + cd alpc + install -Dm755 "target/release/alpc" \ + -t "$pkgdir/usr/bin/" +} |