summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7fcb4aba0b184f57daef00ca59bc7a83ba0b5401 (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: mrxx <mrxx at cyberhome dot at>

pkgname=ascii-design
pkgver=1.1.1
pkgrel=3
pkgdesc="A tool to create Ascii arts"
arch=('i686' 'x86_64')
url="https://github.com/Faster3ck/Ascii-Design"
license=('GPL2')
depends=('qt5-base' 'figlet' 'figlet-fonts')
makedepends=('make' 'cmake')
source=("${url}/archive/v${pkgver}.tar.gz")
sha1sums=('ebe9a3492a9082c7417a06d70a3727951b017b97')

build() {
  cd "$srcdir/Ascii-Design-$pkgver"
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -Dlibdir=/usr/lib \
        .
  make
}

package() {
  cd "$srcdir/Ascii-Design-$pkgver"
  make DESTDIR="$pkgdir/" install

  install -Dm644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README
  install -Dm644 COPYING.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}