blob: 4e4693eacf4696bb84cb9113345f42438ea866d0 (
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
|
# Maintainer: Adam Perkowski <adas1per@protonmail.com>
# https://github.com/adamperkowski/PKGBUILDs
_pkgname=memegen
pkgname=memegen-git
pkgver=1.r0.g8cd7c18
pkgrel=2
pkgdesc='A posix shell script to generate memes from the command line'
arch=('any')
url="https://github.com/Vendicated/$_pkgname"
license=('GPL-3.0')
source=("git+$url")
sha256sums=('SKIP')
makedepends=('git')
depends=('imagemagick' 'ttf-ms-fonts')
pkgver() {
cd "$_pkgname"
echo "1.r$(git describe --all --long | sed 's/-/./g' | cut -d '.' -f 2-)"
}
package() {
cd "$_pkgname"
install -Dm0755 "$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/$_pkgname"
}
|