summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 00:57:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 00:57:31 +0300
commitbc8adc3de2a6f789eeb5ea0b159ef690e7d50fb6 (patch)
tree06b06103b814157caad335587dd15277ae8c331e /packages
parent5ad734be056ee69f14e604dffeaed5bc539795df (diff)
downloadspm-bc8adc3de2a6f789eeb5ea0b159ef690e7d50fb6.tar.gz
spm-bc8adc3de2a6f789eeb5ea0b159ef690e7d50fb6.tar.bz2
spm-bc8adc3de2a6f789eeb5ea0b159ef690e7d50fb6.tar.xz
spm-bc8adc3de2a6f789eeb5ea0b159ef690e7d50fb6.zip
Add manaplus package.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/manaplus.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/manaplus.sh b/packages/manaplus.sh
new file mode 100755
index 0000000..a32ddaf
--- /dev/null
+++ b/packages/manaplus.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+function package_build {
+ run_git_switch_branch master
+
+ run_autoreconf -i
+ run_configure
+
+ run_make
+ run_make_install
+}
+
+function package_get_source {
+ run_git_clone https://gitlab.com/manaplus/manaplus.git
+}
+
+function package_use {
+ env_path "lib"
+ env_man "share/man"
+}