summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingJingHack2017-05-14 20:50:34 +0800
committerJingJingHack2017-05-14 20:50:34 +0800
commit379e21338fbe0b9ea0bcbcd3fa9efa4ce3da364c (patch)
treecea9b7890c4d23b72121c5bc50b9b5fec5d055f3
downloadaur-379e21338fbe0b9ea0bcbcd3fa9efa4ce3da364c.tar.gz
First
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b968ffff05
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = mcstatus
+ pkgdesc = A Minecraft server status probing library
+ pkgver = git
+ pkgrel = 1
+ url = https://github.com/MoeLeak/mcstatus
+ arch = x86_64
+ arch = i686
+ license = MIT
+ depends = cmake
+ depends = boost
+ depends = clang
+ source = mcstatus::git+https://github.com/MoeLeak/mcstatus.git
+ md5sums = SKIP
+
+pkgname = mcstatus
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af6c2907221
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=mcstatus
+pkgver=git
+pkgrel=1
+pkgdesc="A Minecraft server status probing library"
+arch=('x86_64' 'i686')
+url="https://github.com/MoeLeak/mcstatus"
+license=('MIT')
+depends=('cmake' 'boost' 'clang')
+#install=mcstatus.install
+source=("$pkgname::git+https://github.com/MoeLeak/mcstatus.git")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+ cmake .
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir/" install
+}