blob: db065054dcb8412b6f16c1292f79c9977bdb4af0 (
plain)
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
|
# Maintainer: Corey Hinshaw <corey(at)electrickite(dot)org>
pkgname=extract_url
_pkgname=extracturl
pkgver=1.6.2
pkgrel=1
pkgdesc="Extracts URLs from MIME email messages or plain text"
arch=("any")
url="http://www.memoryhole.net/~kyle/extract_url/"
license=("BSD")
depends=("perl" "perl-mime-tools" "perl-html-parser")
optdepends=(
'perl-uri-find: Recognize more exotic URL variations in plain text'
'perl-curses-ui: Allows full replacement for urlview'
'perl-term-readkey: Used to determine terminal width in a portable way')
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/m3m0ryh0l3/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=("5f0b568d5c9449f477527b4077d8269f1f5e6d6531dfa5eb6ca72dbacab6f336")
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -m644 -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|