diff options
author | Alex Whitt | 2017-05-03 16:47:43 -0400 |
---|---|---|
committer | Alex Whitt | 2017-05-03 16:47:43 -0400 |
commit | ff3aa70373e731ed57204814d5d64b1e4cc70b51 (patch) | |
tree | e0f9b1795e108256e0e2e64dcbdf06e26316f70e | |
download | aur-ff3aa70373e731ed57204814d5d64b1e4cc70b51.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8bc7acff0458 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Wed May 3 20:47:11 UTC 2017 +pkgbase = emacs-pcap-mode + pkgdesc = Emacs lisp pcap file viewer + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/orgcandman/pcap-mode + arch = any + license = GPL2 + depends = emacs + source = emacs-pcap-mode-0.2.tar.gz::https://github.com/orgcandman/pcap-mode/archive/master.zip + sha256sums = SKIP + +pkgname = emacs-pcap-mode + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0164e3d1317 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com> + +_pkgsrcname=pcap-mode +_pkgmaintainer=orgcandman +_pkgdestdirname=pcap-mode +_versionprefix= +pkgver=0.2 +pkgrel=1 +pkgdesc="Emacs lisp pcap file viewer" +pkgname=emacs-${_pkgdestdirname} +arch=(any) +url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}" +license=('GPL2') +depends=('emacs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/master.zip") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgsrcname}-master" + emacs -q --no-splash -batch -L . -f batch-byte-compile *.el +} + +package() { + cd "${srcdir}/${_pkgsrcname}-master" + mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/" + install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/" +} |