diff options
author | davidovski <david@davidovski.xyz> | 2022-04-14 22:28:41 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-14 22:28:41 +0100 |
commit | 7cc715c1249422ddf91987be64a35eef43e3e62d (patch) | |
tree | fd706e77c0eaec256acf3dc24e781b5fc9f59d09 /templates | |
parent | 734e13526a2ec3ced7f085e444fc9525dfad348b (diff) |
added auto create file
Diffstat (limited to 'templates')
-rw-r--r-- | templates/configure.xibuild | 12 | ||||
-rw-r--r-- | templates/make.xibuild | 7 | ||||
-rw-r--r-- | templates/meson.xibuild | 10 | ||||
-rw-r--r-- | templates/pypi.xibuild | 2 |
4 files changed, 30 insertions, 1 deletions
diff --git a/templates/configure.xibuild b/templates/configure.xibuild new file mode 100644 index 0000000..d6278ad --- /dev/null +++ b/templates/configure.xibuild @@ -0,0 +1,12 @@ +build () { + ./configure \ + --prefix=/usr + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/templates/make.xibuild b/templates/make.xibuild new file mode 100644 index 0000000..82cdeb9 --- /dev/null +++ b/templates/make.xibuild @@ -0,0 +1,7 @@ +build () { + make PREFIX=/usr +} + +package () { + make PREFIX=/usr DESTDIR=$PKGDEST install +} diff --git a/templates/meson.xibuild b/templates/meson.xibuild new file mode 100644 index 0000000..67ab5af --- /dev/null +++ b/templates/meson.xibuild @@ -0,0 +1,10 @@ +build () { + mkdir build && + cd build && + meson --prefix=/usr .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/templates/pypi.xibuild b/templates/pypi.xibuild index 20042b3..fbaeff2 100644 --- a/templates/pypi.xibuild +++ b/templates/pypi.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="python" -DEPS="" +DEPS="%deps%" PKG_VER=%version% SOURCE=%url% |