summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ad90a4965ecb07520541c47094a0fdfd0d8bc9f (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
# Maintainer: hamki <hamki.do2000@gmail.com>
# Contributor: Pierre Neidhardt <ambrevar at gmail dot com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

_name=xclip
pkgname=emacs-$_name
pkgver=0.9
pkgrel=2
pkgdesc="Emacs interface to xclip"
arch=('any')
url="https://www.emacswiki.org/emacs/xclip.el"
license=('GPL3')
makedepends=('emacs')
install=$pkgname.install
source=(https://www.emacswiki.org/emacs/download/$_name.el)
sha1sums=('c4c4167405702b8f747f0ebd9b962ba075bdbeb8')

build() {
  emacs --batch --no-site-file -f batch-byte-compile $_name.el
}

package() {
  install -d $pkgdir/usr/share/emacs/site-lisp
  install -Dm644 ${_name}.el{c,} $pkgdir/usr/share/emacs/site-lisp/
}