summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorstargr@gmail.com2015-06-08 17:13:59 +0300
committerstargr@gmail.com2015-06-08 17:13:59 +0300
commit72943ca9ff3dfd2e3b20a7ab3df23902e47bf165 (patch)
tree33ff7f467656b502cc6ece4e919f94b5bc9960be
downloadaur-72943ca9ff3dfd2e3b20a7ab3df23902e47bf165.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD21
-rw-r--r--debtap.install17
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..39e51765b52
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = debtap
+ pkgdesc = A script to convert .deb packages to Arch Linux packages, focused on accuracy. Do not use it to convert packages that already exist on official repositories or can be built from AUR!
+ pkgver = 2.1.5
+ pkgrel = 1
+ url = https://github.com/helixarch/debtap
+ install = debtap.install
+ arch = any
+ license = GPLv2
+ depends = bash
+ depends = binutils
+ depends = pkgfile
+ depends = fakeroot
+ source = debtap-2.1.5.tar.gz::https://github.com/helixarch/debtap/archive/2.1.5.tar.gz
+ source = debtap.install
+ sha512sums = 3457fdcc32bb4fc1b1367cb99af295e1a76a158e347a6bedbf789ac1b8a767e2ff585da1faf8f8ff970a5a76953717f8ab561d4e97e96faeeddf44d681e8eb6c
+ sha512sums = 0b3b5815866cfa9c5c32c922dcf8f50c4a84c9cdf83c2e30a86d2113a88ea52d8780848205748f5e349e364c26fb60a5bc91ffbdd7d8e0a4f2b9327c636b2564
+
+pkgname = debtap
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7a1f870913f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: helix <stargr@gmail.com>
+pkgname=debtap
+pkgver=2.1.5
+pkgrel=1
+pkgdesc='A script to convert .deb packages to Arch Linux packages, focused on accuracy. Do not use it to convert packages that already exist on official repositories or can be built from AUR!'
+arch=('any')
+license=('GPLv2')
+depends=('bash' 'binutils' 'pkgfile' 'fakeroot')
+url="https://github.com/helixarch/debtap"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/helixarch/debtap/archive/$pkgver.tar.gz"
+ "debtap.install")
+
+sha512sums=('3457fdcc32bb4fc1b1367cb99af295e1a76a158e347a6bedbf789ac1b8a767e2ff585da1faf8f8ff970a5a76953717f8ab561d4e97e96faeeddf44d681e8eb6c'
+ '0b3b5815866cfa9c5c32c922dcf8f50c4a84c9cdf83c2e30a86d2113a88ea52d8780848205748f5e349e364c26fb60a5bc91ffbdd7d8e0a4f2b9327c636b2564')
+
+install=debtap.install
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm755 debtap "$pkgdir/usr/bin/debtap"
+}
diff --git a/debtap.install b/debtap.install
new file mode 100644
index 00000000000..84e1ec94c1c
--- /dev/null
+++ b/debtap.install
@@ -0,0 +1,17 @@
+post_install() {
+echo "==> You must run at least once \"debtap -u\""
+echo "with root privileges (preferably recently),"
+echo "before running this script"
+echo
+echo "==> Syntax: debtap [option] package_filename"
+echo
+echo "==> Run \"debtap -h\" for help"
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+echo "==> /var/cache/debtap has not been removed"
+}