-
-
Notifications
You must be signed in to change notification settings - Fork 136
/
tmpmail-bin.pacscript
34 lines (28 loc) · 1.02 KB
/
tmpmail-bin.pacscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# __ __________ ______
# / \ / \_____ \ / __ \
# \ \/\/ // ____/ > <
# \ // \/ -- \
# \__/\ / \_______ \______ /
# \/ \/ \/
maintainer=("wizard-28 <wiz28@pm.me>")
pkgname="tmpmail-bin"
gives="tmpmail"
pkgver="1.2.3"
pkgdesc="A temporary email right from your terminal written in POSIX sh"
source=("https://github.com/sdushantha/tmpmail/archive/refs/tags/v${pkgver}.tar.gz")
depends=("w3m" "curl" "jq")
breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app")
sha256sums=("8d12f5474b89ee585413ec32cc9991a971a00e8bb63ac8e5a2e736f734f37cfb")
repology=("project: ${gives}")
package() {
cd "${_archive}"
# Install license
install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}"
# Install man page
install -Dm644 "tmpmail.1" -t "${pkgdir}/usr/share/man/man1"
# Install README
install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}"
# Install binary
install -Dm755 "tmpmail" -t "${pkgdir}/usr/bin"
}
# vim:set ft=sh ts=2 sw=2 et: