summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzuyoutoki2021-02-08 01:18:15 -0500
committerzuyoutoki2021-02-08 01:18:15 -0500
commit57823d48fcbb47954f87896d00ebf349d51c33d6 (patch)
treef7d47509b3d14a21707be7f355442dd26ff2702b
downloadaur-57823d48fcbb47954f87896d00ebf349d51c33d6.tar.gz
romog-git version r13.e5cb0d4
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1e7cd8d0dc6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = romog-git
+ pkgdesc = A command-line ROM manager written in C++, specifically for Linux.
+ pkgver = r13.e5cb0d4
+ pkgrel = 1
+ url = https://github.com/xprism1/romog
+ arch = x86_64
+ license = AGPL3
+ makedepends = git
+ makedepends = make
+ makedepends = gcc
+ depends = pugixml
+ depends = xalan-c
+ depends = libarchive
+ depends = yaml-cpp
+ provides = romog
+ options = !strip
+ source = git+http://github.com/xprism1/romog
+ md5sums = SKIP
+
+pkgname = romog-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbe14db5ec7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: zuyoutoki <zuyoutoki+aur at oki dot moe>
+pkgname=romog-git
+pkgver=r13.e5cb0d4
+pkgrel=1
+pkgdesc="A command-line ROM manager written in C++, specifically for Linux. "
+arch=('x86_64')
+url="https://github.com/xprism1/romog"
+license=('AGPL3')
+depends=('pugixml' 'xalan-c' 'libarchive' 'yaml-cpp')
+makedepends=('git' 'make' 'gcc')
+provides=('romog')
+source=("git+http://github.com/xprism1/romog")
+md5sums=('SKIP')
+options=(!strip)
+
+prepare() {
+ cd "$srcdir/romog/src"
+ sed 's/xalanc_1_11/xalanc_1_12/g' dir2dat.cpp > dir2dat.cpp.patched
+ mv dir2dat.cpp.patched dir2dat.cpp
+ mkdir -p obj
+}
+
+pkgver() {
+ cd "$srcdir/romog"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/romog/src"
+ make
+}
+
+package() {
+ cd "$srcdir/romog/src"
+ mkdir -p "$pkgdir/usr/bin"
+ cp -f romog "$pkgdir/usr/bin"
+ chmod 755 "$pkgdir/usr/bin"
+}