summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnkit R Gadiya2018-02-27 22:43:52 +0530
committerAnkit R Gadiya2018-02-27 22:43:52 +0530
commit4ed4f7e4922732faa71f73f908ec7137410c001a (patch)
tree43953112f4464ea5f27973970966ec4402a33b10 /PKGBUILD
parent03194eee0490ee51c2632d5bf64006ba416442b4 (diff)
downloadaur-4ed4f7e4922732faa71f73f908ec7137410c001a.tar.gz
Added License, other small fixes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ccc58fd2f13..660bdc42d58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,29 +3,30 @@
pkgname=sent
pkgver=1
-pkgrel=2
+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=('MIT')
-source=(https://git.suckless.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz
- config.h)
+license=('custom:ISC')
+source=("https://git.suckless.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
+ "config.h")
sha256sums=('8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad'
'5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e')
prepare() {
- cd $pkgname-$pkgver
- cp "$srcdir"/config.h config.h
+ cp config.h "${pkgname}-${pkgver}/config.h"
}
build() {
- cd $pkgname-$pkgver
- make
+ cd "${pkgname}-${pkgver}"
+ make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR="${pkgdir}" PREFIX='/usr/' install
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" PREFIX='/usr/' install
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}