summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaume Delclòs Coll2016-12-15 18:56:49 +0100
committerJaume Delclòs Coll2016-12-15 18:56:49 +0100
commitb4ec9fd1f6556c86b1a25b45f8753d1762ba4be2 (patch)
tree082b2e425e40ed151271b5bac81f9fc8671fae9c
downloadaur-b4ec9fd1f6556c86b1a25b45f8753d1762ba4be2.tar.gz
first PKGBUILD
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2e37575d380
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = weeb-git
+ pkgdesc = A library manager for anime and series
+ pkgver = r40.872c920
+ pkgrel = 1
+ url = https://github.com/cosarara97/fucking-weeb
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = chicken
+ depends = gtk3
+ provides = weeb
+ conflicts = weeb
+ source = weeb::git+https://github.com/cosarara97/fucking-weeb.git
+ md5sums = SKIP
+
+pkgname = weeb-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4d98af234bd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Jaume Delclòs Coll <jaume@delclos.com>
+pkgname=weeb-git
+pkgver=r40.872c920
+pkgrel=1
+pkgdesc="A library manager for anime and series"
+arch=("i686" "x86_64")
+url="https://github.com/cosarara97/fucking-weeb"
+license=('GPL3')
+depends=('gtk3')
+makedepends=('git' 'chicken')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('weeb::git+https://github.com/cosarara97/fucking-weeb.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make deployable
+ # they hold references to $srcdir, and we don't need them
+ rm deploy_dir/weeb/*.setup-info
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" install
+}