Skip to content

Commit cace0b1

Browse files
author
Matthew Stern
committed
AUR Package
1 parent 7cd9bdb commit cace0b1

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

.SRCINFO

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
pkgbase = Topologic
2+
pkgdesc = Library to create dyanimic context free or switching automata
3+
pkgver = 1.0.2
4+
pkgrel = 1
5+
url = https://github.com/mstern98/Topologic
6+
arch = any
7+
license = MIT
8+
depends = bison
9+
depends = flex
10+
source = Topologic-1.0.2.tar.gz::https://github.com/mstern98/Topologic/archive/v1.0.2.tar.gz
11+
sha256sums = 0d24c93771b1df69fc6e3cd19e1a350591f3fe456d11b1a2a7d9b19306a00f7b
12+
13+
pkgname = Topologic
14+

PKGBUILD

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#Maintainer: Matthew Stern <msstern98 gmail com>
2+
pkgname=Topologic
3+
pkgver=1.0.2
4+
pkgrel=1
5+
pkgdesc='Library to create dyanimic context free or switching automata'
6+
arch=('any')
7+
url="https://github.com/mstern98/Topologic"
8+
license=('MIT')
9+
depends=(bison flex)
10+
11+
12+
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mstern98/Topologic/archive/v${pkgver}.tar.gz")
13+
sha256sums=('0d24c93771b1df69fc6e3cd19e1a350591f3fe456d11b1a2a7d9b19306a00f7b')
14+
15+
build ()
16+
{
17+
cd "$srcdir/${pkgname}-${pkgver}"
18+
echo "Starting Build..."
19+
make
20+
}
21+
22+
package ()
23+
{
24+
mkdir -p "$pkgdir/usr/include"
25+
mkdir -p "$pkgdir/usr/include/topologic"
26+
mkdir -p "$pkgdir/usr/lib"
27+
28+
cp "$srcdir/${pkgname}-${pkgver}/include/AVL.h" "$pkgdir/usr/include/topologic/"
29+
cp "$srcdir/${pkgname}-${pkgver}/include/context.h" "$pkgdir/usr/include/topologic/"
30+
cp "$srcdir/${pkgname}-${pkgver}/include/edge.h" "$pkgdir/usr/include/topologic/"
31+
cp "$srcdir/${pkgname}-${pkgver}/include/graph.h" "$pkgdir/usr/include/topologic/"
32+
cp "$srcdir/${pkgname}-${pkgver}/include/request.h" "$pkgdir/usr/include/topologic/"
33+
cp "$srcdir/${pkgname}-${pkgver}/include/stack.h" "$pkgdir/usr/include/topologic/"
34+
cp "$srcdir/${pkgname}-${pkgver}/include/topologic.h" "$pkgdir/usr/include/topologic/"
35+
cp "$srcdir/${pkgname}-${pkgver}/include/vertex.h" "$pkgdir/usr/include/topologic/"
36+
cp "$srcdir/${pkgname}-${pkgver}/include/header.h" "$pkgdir/usr/include/topologic/"
37+
cp "$srcdir/${pkgname}-${pkgver}/libtopologic.a" "$pkgdir/usr/lib/"
38+
}

0 commit comments

Comments
 (0)