summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9f5ab637291
--- /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 00000000000..6f7b437af85
--- /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/"
+}