summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Puzyryov2018-06-10 15:07:26 +0300
committerNikita Puzyryov2018-06-10 15:07:26 +0300
commit73b230776ba99ec522b6fc7c99e95dc13d1daf8a (patch)
tree8fe599b480bd13312603d68c3dce74bfe81ca38f
downloadaur-73b230776ba99ec522b6fc7c99e95dc13d1daf8a.tar.gz
Init v0.7.0
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be44d1833bf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = zchunk
+ pkgdesc = A file format that allows easy deltas while maintaining good compression
+ pkgver = 0.7.0
+ pkgrel = 1
+ url = https://github.com/zchunk/zchunk
+ arch = x86
+ arch = x86_64
+ license = BSD
+ makedepends = meson
+ depends = libcurl.so
+ depends = zstd
+ source = zchunk-0.7.0.tar.gz::https://github.com/zchunk/zchunk/archive/0.7.0.tar.gz
+ sha256sums = 0efda0870c1b537df094a011ec065d0e9a81244f397dec91de5d0fed54bfd08d
+
+pkgname = zchunk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8e4eadea998
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Nikita Puzyryov <PuzyryovN@gmail.com>
+pkgname=zchunk
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="A file format that allows easy deltas while maintaining good compression"
+arch=(x86 x86_64)
+url="https://github.com/zchunk/zchunk"
+license=('BSD')
+depends=('libcurl.so' 'zstd')
+makedepends=('meson')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('0efda0870c1b537df094a011ec065d0e9a81244f397dec91de5d0fed54bfd08d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ arch-meson build/
+ ninja -C build/
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ meson test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ DESTDIR="$pkgdir/" ninja -C build/ install
+}