diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,11 +1,12 @@ pkgbase = textimg pkgdesc = Command to convert from color text (ANSI or 256) to image. pkgver = 3.0.6 - pkgrel = 2 + pkgrel = 3 url = https://github.com/jiro4989/textimg arch = x86_64 license = MIT makedepends = go + depends = glibc provides = textimg options = !strip source = https://github.com/jiro4989/textimg/archive/v3.0.6.tar.gz @@ -2,11 +2,12 @@ pkgname=textimg pkgver=3.0.6 -pkgrel=2 +pkgrel=3 pkgdesc='Command to convert from color text (ANSI or 256) to image.' arch=('x86_64') url='https://github.com/jiro4989/textimg' license=('MIT') +depends=('glibc') makedepends=('go') provides=('textimg') options=('!strip') @@ -15,7 +16,7 @@ sha256sums=('ab7ad2965a826cc576ba23f3e75e0e973e0bfcd675a6183d674badb17ba6812c') build() { cd "${srcdir}/${pkgname}-${pkgver}" - go build + go build -buildmode=pie --trimpath } check() { @@ -27,4 +28,8 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 README_ja.md "${pkgdir}/usr/share/doc/${pkgname}/README_ja.md" + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/img" + install -Dm644 img/* "${pkgdir}/usr/share/doc/${pkgname}/img/" } |