summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2018-05-15 12:20:22 +0200
committeraksr2018-05-15 12:20:22 +0200
commitb5c45a6d2742f2b4032fb95e8790d41b266714fb (patch)
tree03695983bc7e2bbceccdf9350140dfa29ff135bf
downloadaur-b5c45a6d2742f2b4032fb95e8790d41b266714fb.tar.gz
Start.
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD54
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..81253e3beba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Tue May 15 10:20:22 UTC 2018
+pkgbase = dpic-git
+ pkgdesc = An implementation of the pic "little language," with support for LaTeX, PDF, SVG, Postscript, and xfig 3.2 output.
+ pkgver = r19.275538d
+ pkgrel = 1
+ url = https://ece.uwaterloo.ca/~aplevich/dpic/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ conflicts = dpic
+ source = dpic-git::git+https://gitlab.com/aplevich/dpic.git
+ md5sums = SKIP
+ sha1sums = SKIP
+ sha256sums = SKIP
+
+pkgname = dpic-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fb4a4ad2a8c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=dpic-git
+pkgver=r19.275538d
+pkgrel=1
+epoch=
+pkgdesc="An implementation of the pic \"little language,\" with support for LaTeX, PDF, SVG, Postscript, and xfig 3.2 output."
+arch=('i686' 'x86_64')
+url="https://gitlab.com/aplevich/dpic.git"
+url="https://ece.uwaterloo.ca/~aplevich/dpic/"
+license=('BSD')
+categories=()
+groups=()
+depends=('')
+makedepends=('git')
+optdepends=()
+checkdepends=()
+provides=()
+conflicts=("${pkgname%-*}")
+replaces=()
+backup=()
+options=()
+changelog=
+install=
+source=("$pkgname::git+https://gitlab.com/aplevich/dpic.git")
+noextract=()
+md5sums=('SKIP')
+sha1sums=('SKIP')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+#prepare() {
+# cd "$srcdir/$pkgname"
+# ./autogen.sh
+#}
+
+build() {
+ cd "$srcdir/$pkgname"
+ #./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/usr" install
+ install -Dm644 README $pkgdir/usr/share/doc/${pkgname%-*}/README
+ sed '145,171!d' README > LICENSE
+ install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
+}
+