summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 855770951baac7cad1f6dc0a47ad56bc8a5169f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>

pkgname=tmpmail
pkgver=1.2.3
_commit=3e9596f92a420fbc701a0938a7ca1eb3118c02fc
pkgrel=1
pkgdesc='A temporary email right from your terminal written in POSIX sh'
arch=(any)
url=https://github.com/sdushantha/tmpmail
license=(MIT)
depends=(curl jq)
makedepends=(git)
optdepends=('w3m: email rendering support'
            'xclip: address copy support')
source=("git+$url.git#commit=$_commit")
md5sums=(SKIP)

package() {
	cd "$pkgname"
	install -Dm755 tmpmail -t "$pkgdir/usr/bin"
	install -Dm644 tmpmail.1 -t "$pkgdir/usr/share/man/man1"
	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}