summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD16
2 files changed, 29 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d936b08678e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = libpkgbuild
+ pkgdesc = This is a pkgbuild parse library
+ pkgver = 1.0.0
+ pkgrel = 0
+ arch = any
+ makedepends = cmake
+ makedepends = ninja
+ depends = clang
+ source = git+https://github.com/FascodeNet/libpkgbuild.git
+ md5sums = SKIP
+
+pkgname = libpkgbuild
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b65d74aca41
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+pkgname=libpkgbuild
+pkgdesc="This is a pkgbuild parse library"
+pkgver=1.0.0
+arch=(any)
+pkgrel=0
+depends=(clang)
+makedepends=(cmake ninja)
+source=("git+https://github.com/FascodeNet/libpkgbuild.git")
+md5sums=(SKIP)
+package() {
+ cd "$srcdir/libpkgbuild/"
+ mkdir build
+ cd build
+ cmake .. -GNinja -DCMAKE_INSTALL_PREFIX="$pkgdir"
+ ninja install
+}