summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Nobrega2019-04-12 10:17:12 -0300
committerRoberto Nobrega2019-04-12 10:17:12 -0300
commita0f38993c69ec9ca40857d4ee191266a22ace5c4 (patch)
tree32906867dcbb76b10f95fdc56c256e68e2db23f3
downloadaur-a0f38993c69ec9ca40857d4ee191266a22ace5c4.tar.gz
First commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD40
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..228adf25454
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = bless-git
+ pkgdesc = High-quality, full-featured hex editor (git version)
+ pkgver = r169.db747af
+ pkgrel = 1
+ url = https://web.archive.org/web/20170503150524/http://home.gna.org/bless/
+ arch = any
+ license = GPL
+ makedepends = rarian
+ makedepends = automake
+ depends = gtk-sharp-2
+ conflicts = bless
+ source = git://github.com/afrantzis/bless.git
+ sha256sums = SKIP
+
+pkgname = bless-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2b13ec2ff2d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Roberto Nobrega <rwnobrega@gmail.com>
+# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: TDY <tdy@gmx.com>
+# Contributor: dcraven <dcraven@gmail.com>
+
+pkgname=bless-git
+_gitname=bless
+pkgver=r169.db747af
+pkgrel=1
+pkgdesc="High-quality, full-featured hex editor (git version)"
+arch=('any')
+url="https://web.archive.org/web/20170503150524/http://home.gna.org/bless/"
+license=('GPL')
+depends=('gtk-sharp-2')
+conflicts=('bless')
+makedepends=('rarian' 'automake')
+source=("git://github.com/afrantzis/bless.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_gitname}/
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd ${srcdir}/${_gitname}
+ ./autogen.sh
+}
+
+build() {
+ cd ${srcdir}/${_gitname}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ make DESTDIR="${pkgdir}" MKDIR_P='mkdir -p' install
+}