summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen2020-08-20 13:35:59 +0300
committerTom Hacohen2020-08-20 13:35:59 +0300
commit7b1df3712f91f683eb2f8702422e1abb7322b16f (patch)
treea5dba5d2b11067403caf9af7d5fe2b769bafa88d
downloadaur-7b1df3712f91f683eb2f8702422e1abb7322b16f.tar.gz
Initial commit.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d44e7877070
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = etesync-git
+ pkgdesc = EteSync C library
+ pkgver = 0.1.0.75
+ pkgrel = 1
+ url = https://github.com/etesync/etesync-rs
+ arch = x86_64
+ license = LGPL
+ makedepends = cargo
+ depends = openssl
+ provides = etesync
+ conflicts = etesync
+ source = etesync::git+https://github.com/etesync/etesync-rs.git
+ sha512sums = SKIP
+
+pkgname = etesync-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4919114d29
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Tom Hacohen <tom@stosb.com>
+
+pkgname=etesync-git
+_pkgname=etesync
+pkgver=0.1.0.75
+pkgrel=1
+pkgdesc="EteSync C library"
+arch=(x86_64)
+url="https://github.com/etesync/etesync-rs"
+license=('LGPL')
+depends=('openssl')
+makedepends=('cargo')
+source=("${_pkgname}::git+https://github.com/etesync/etesync-rs.git")
+sha512sums=('SKIP')
+provides=(etesync)
+conflicts=(etesync)
+
+pkgver() {
+ cd "$_pkgname"
+ printf "0.1.0.%s" "$(git rev-list --count HEAD)"
+}
+
+build() {
+ cd "${_pkgname}"
+ make
+}
+
+package() {
+ cd "${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm644 README.md
+}