summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 221c637fc2b2e83a9a10f2ea7a6adf75ad0469e4 (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
# Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=emacs-psgml
_progname=psgml
pkgver=1.4.1
pkgrel=1
pkgdesc="An Emacs major mode for editing SGML documents"
depends=('emacs')
optdepends=('opensp: for onsgmls')
install=psgml.install
url="https://marmalade-repo.org/packages/${_progname}"
license=('GPL')
arch=('any')
source=("${url}-$pkgver.tar")
sha256sums=('74f7af1951cd637c2a2bc7f74b992b18524d98989b9dacaf9d33dfe93a8574a9')

build() {
  cd $_progname-$pkgver
  ./configure --prefix=/usr
  sed 's/prefix = \/usr/prefix = ${DESTDIR}\/usr/' -i Makefile
  make 
}

package() {
  cd $_progname-$pkgver
  make DESTDIR="$pkgdir" install
}