summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 660bdc42d58d1717b828e94a15e20ba4e6a19081 (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
30
31
32
# Maintainer: Ankit R Gadiya <arch@argp.in>
# Contributor: Christian Hesse <mail@eworm.de>

pkgname=sent
pkgver=1
pkgrel=3
pkgdesc='Simple plaintext presentation tool'
arch=('i686' 'x86_64')
url='http://tools.suckless.org/sent'
depends=('libxft' 'fontconfig' 'libpng')
optdepends=('farbfeld: Image support')
license=('custom:ISC')
source=("https://git.suckless.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
        "config.h")
sha256sums=('8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad'
            '5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e')

prepare() {
    cp config.h "${pkgname}-${pkgver}/config.h"
}

build() {
    cd "${pkgname}-${pkgver}"
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" PREFIX='/usr/' install

    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}