diff options
author | Yigit Sever | 2024-12-03 08:32:28 +0100 |
---|---|---|
committer | Yigit Sever | 2024-12-03 08:32:28 +0100 |
commit | 87cc91dee2df2a3dbad07907c294a9577edac1df (patch) | |
tree | 2ad4322d8270be747b53a7d0d7d62fe5fb41d9bb | |
parent | 09e84f79cc367869e12a5f8e72bdda83f0ceaed6 (diff) | |
download | packages-87cc91dee2df2a3dbad07907c294a9577edac1df.tar.gz packages-87cc91dee2df2a3dbad07907c294a9577edac1df.tar.bz2 packages-87cc91dee2df2a3dbad07907c294a9577edac1df.zip |
Deleted package: rlr-git
-rw-r--r-- | rlr-git/.SRCINFO | 15 | ||||
-rw-r--r-- | rlr-git/.gitignore | 5 | ||||
-rw-r--r-- | rlr-git/PKGBUILD | 45 |
3 files changed, 0 insertions, 65 deletions
diff --git a/rlr-git/.SRCINFO b/rlr-git/.SRCINFO deleted file mode 100644 index 5d8ee9e..0000000 --- a/rlr-git/.SRCINFO +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | pkgbase = rlr-git | ||
2 | pkgdesc = interactive pixel screen ruler and protractor | ||
3 | pkgver = r31.463c617 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/epilys/rlr | ||
6 | arch = any | ||
7 | license = GPL | ||
8 | makedepends = git | ||
9 | makedepends = cargo | ||
10 | provides = rlr | ||
11 | conflicts = rlr | ||
12 | source = rlr::git+https://github.com/epilys/rlr | ||
13 | sha256sums = SKIP | ||
14 | |||
15 | pkgname = rlr-git | ||
diff --git a/rlr-git/.gitignore b/rlr-git/.gitignore deleted file mode 100644 index 5ccb7e5..0000000 --- a/rlr-git/.gitignore +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | * | ||
2 | !.gitignore | ||
3 | !.SRCINFO | ||
4 | !PKGBUILD | ||
5 | !rlr.desktop | ||
diff --git a/rlr-git/PKGBUILD b/rlr-git/PKGBUILD deleted file mode 100644 index 4ec3d19..0000000 --- a/rlr-git/PKGBUILD +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=rlr-git | ||
4 | pkgver=r31.463c617 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="interactive pixel screen ruler and protractor" | ||
7 | arch=('any') | ||
8 | url="https://github.com/epilys/rlr" | ||
9 | license=('GPL') | ||
10 | makedepends=('git' 'cargo') | ||
11 | provides=("${pkgname%-git}") | ||
12 | conflicts=("${pkgname%-git}") | ||
13 | source=("${pkgname%-git}::git+${url}") | ||
14 | sha256sums=('SKIP') | ||
15 | |||
16 | pkgver() { | ||
17 | cd "$srcdir/${pkgname%-git}" | ||
18 | # git, no tags available | ||
19 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
20 | } | ||
21 | |||
22 | prepare() { | ||
23 | cd "$srcdir/${pkgname%-git}" | ||
24 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
25 | } | ||
26 | |||
27 | build() { | ||
28 | cd "$srcdir/${pkgname%-git}" | ||
29 | export RUSTUP_TOOLCHAIN=stable | ||
30 | export CARGO_TARGET_DIR=target | ||
31 | cargo build --frozen --release --all-features | ||
32 | } | ||
33 | |||
34 | package() { | ||
35 | # binary | ||
36 | install -Dm0755 "${srcdir}/${pkgname%-git}/target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin/" | ||
37 | # desktop file | ||
38 | install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-git}.desktop" | ||
39 | |||
40 | # icon | ||
41 | install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.svg" | ||
42 | # symbolic icon | ||
43 | install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}-symbolic.svg" "${pkgdir}/usr/share/icons/hicolor/symbolic/apps/${pkgname%-git}-symbolic.svg" | ||
44 | |||
45 | } | ||