diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /dijo-git | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'dijo-git')
m--------- | dijo-git | 0 | ||||
-rw-r--r-- | dijo-git/.SRCINFO | 17 | ||||
-rw-r--r-- | dijo-git/PKGBUILD | 34 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dijo-git b/dijo-git deleted file mode 160000 | |||
Subproject 6c022315a768dfde64c9e24d819823b9231f82d | |||
diff --git a/dijo-git/.SRCINFO b/dijo-git/.SRCINFO new file mode 100644 index 0000000..afe3203 --- /dev/null +++ b/dijo-git/.SRCINFO | |||
@@ -0,0 +1,17 @@ | |||
1 | pkgbase = dijo-git | ||
2 | pkgdesc = scriptable, curses-based, digital habit tracker | ||
3 | pkgver = 0.2.7.191.gbe6e0e3 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/NerdyPepper/dijo | ||
6 | arch = x86_64 | ||
7 | arch = i686 | ||
8 | license = MIT | ||
9 | makedepends = rust | ||
10 | makedepends = cargo | ||
11 | makedepends = git | ||
12 | provides = dijo | ||
13 | conflicts = dijo | ||
14 | source = dijo::git+https://github.com/NerdyPepper/dijo.git | ||
15 | sha256sums = SKIP | ||
16 | |||
17 | pkgname = dijo-git | ||
diff --git a/dijo-git/PKGBUILD b/dijo-git/PKGBUILD new file mode 100644 index 0000000..75931d7 --- /dev/null +++ b/dijo-git/PKGBUILD | |||
@@ -0,0 +1,34 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: quininer <quininer at live dot com> | ||
3 | |||
4 | pkgname='dijo-git' | ||
5 | _pkgname="dijo" | ||
6 | pkgver=0.2.7.191.gbe6e0e3 | ||
7 | pkgrel=1 | ||
8 | arch=('x86_64' 'i686') | ||
9 | url="https://github.com/NerdyPepper/dijo" | ||
10 | pkgdesc="scriptable, curses-based, digital habit tracker" | ||
11 | license=('MIT') | ||
12 | depends=() | ||
13 | makedepends=('rust' 'cargo' 'git') | ||
14 | checkdepends=() | ||
15 | provides=('dijo') | ||
16 | conflicts=('dijo') | ||
17 | source=("$_pkgname::git+https://github.com/NerdyPepper/dijo.git") | ||
18 | sha256sums=('SKIP') | ||
19 | |||
20 | pkgver() { | ||
21 | cd $_pkgname | ||
22 | echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" | ||
23 | } | ||
24 | |||
25 | build(){ | ||
26 | cd "$_pkgname" | ||
27 | cargo build --release --locked | ||
28 | } | ||
29 | |||
30 | package() { | ||
31 | cd $_pkgname | ||
32 | install -D -m755 "target/release/dijo" "$pkgdir/usr/bin/dijo" | ||
33 | install -D -m644 "dijo.1" "$pkgdir/usr/share/man/man1/dijo.1" | ||
34 | } | ||