blob: 0992235da70ae59847b56fa16c32cfd9105cd109 (
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
29
|
# Maintainer: Nikhil Singh <nik.singh710@gmail.com>
pkgname=center-align
pkgver=r14.bf3c3f0
pkgrel=1
pkgdesc="Simple utility to align the stdout text (horizontal+vertical) Middle"
arch=("x86_64")
url="https://github.com/niksingh710/center-align"
license=('WTFPL')
makedepends=("git")
optdepends=("figlet: for nice text art")
source=("git+https://github.com/niksingh710/center-align.git")
md5sums=('SKIP')
provides=('center-align')
conflicts=('center-align')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm755 ./center "$pkgdir/usr/bin/$pkgname"
install -Dm644 ./Readme.md "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim: ft=PKGBUILD
|