summaryrefslogtreecommitdiff
path: root/xpa
diff options
context:
space:
mode:
Diffstat (limited to 'xpa')
-rw-r--r--xpa/bld.bat2
-rw-r--r--xpa/build.sh2
-rw-r--r--xpa/meta.yaml13
3 files changed, 11 insertions, 6 deletions
diff --git a/xpa/bld.bat b/xpa/bld.bat
index 60d77ab..f63e097 100644
--- a/xpa/bld.bat
+++ b/xpa/bld.bat
@@ -1,3 +1,3 @@
echo Nope
-exit 1 \ No newline at end of file
+exit 1
diff --git a/xpa/build.sh b/xpa/build.sh
index 60e0175..e9948fd 100644
--- a/xpa/build.sh
+++ b/xpa/build.sh
@@ -4,4 +4,4 @@ rm -rf python
./configure --prefix=$PREFIX \
--enable-shared
make -j${CPU_COUNT}
-make install || exit 1 \ No newline at end of file
+make install
diff --git a/xpa/meta.yaml b/xpa/meta.yaml
index 479a70c..e4507b2 100644
--- a/xpa/meta.yaml
+++ b/xpa/meta.yaml
@@ -1,20 +1,25 @@
{% set name = 'xpa' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '0' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '1' %}
about:
home: https://github.com/ericmandel/{{ name }}
license: MIT
summary: Provides seamless communication between many kinds of Unix programs
+
build:
number: {{ number }}
+
package:
name: {{ name }}
version: {{ version }}
+
source:
git_url: https://github.com/ericmandel/{{ name }}.git
+
test:
commands:
- test -x `which xpaget`