summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnkit R Gadiya2018-10-09 19:40:13 +0530
committerAnkit R Gadiya2018-10-09 19:40:13 +0530
commit2b36a2e8fc54970484f020ad2cd123b97ff0d747 (patch)
treef5f34df509d95f87c9a20f6d9c537921e23c3319 /PKGBUILD
parent4ed4f7e4922732faa71f73f908ec7137410c001a (diff)
downloadaur-sent.tar.gz
Fixed source
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 660bdc42d58..cbacafc5fff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,29 +3,29 @@
pkgname=sent
pkgver=1
-pkgrel=3
+pkgrel=4
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"
+source=("https://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz"
"config.h")
-sha256sums=('8d88c1d9b0990871c9b02d762ab4f1596e70e97bf228dab99115894133d999ad'
+sha256sums=('7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33'
'5b93e790d607389a4966595cb32a818f6f076605aff52d9a87f54b4587e4d79e')
-prepare() {
- cp config.h "${pkgname}-${pkgver}/config.h"
-}
+# prepare() {
+# cp config.h "${srcdir}/config.h"
+# }
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}"
make
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}"
make DESTDIR="${pkgdir}" PREFIX='/usr/' install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"