From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- i3-swallow-git | 1 - i3-swallow-git/.SRCINFO | 15 +++++++++++++++ i3-swallow-git/PKGBUILD | 28 ++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) delete mode 160000 i3-swallow-git create mode 100644 i3-swallow-git/.SRCINFO create mode 100644 i3-swallow-git/PKGBUILD (limited to 'i3-swallow-git') diff --git a/i3-swallow-git b/i3-swallow-git deleted file mode 160000 index 14fe18e..0000000 --- a/i3-swallow-git +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 14fe18ebec4f36d3a9fe728f1848fecef5adaec3 diff --git a/i3-swallow-git/.SRCINFO b/i3-swallow-git/.SRCINFO new file mode 100644 index 0000000..6b8c5c6 --- /dev/null +++ b/i3-swallow-git/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = i3-swallow-git + pkgdesc = Swallow a terminal window after a blocking application is run in i3 + pkgver = r66.7a9faed + pkgrel = 1 + url = https://github.com/jamesofarrell/i3-swallow + arch = any + license = MIT + makedepends = git + depends = i3-wm + depends = python-i3ipc + provides = i3-swallow + source = i3-swallow::git+https://github.com/jamesofarrell/i3-swallow.git + md5sums = SKIP + +pkgname = i3-swallow-git diff --git a/i3-swallow-git/PKGBUILD b/i3-swallow-git/PKGBUILD new file mode 100644 index 0000000..30e5eba --- /dev/null +++ b/i3-swallow-git/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Yigit Sever +# Contributor: Fenner Macrae + +_pkgname=i3-swallow +pkgname=$_pkgname-git +pkgver=r66.7a9faed +pkgrel=1 +pkgdesc="Swallow a terminal window after a blocking application is run in i3" +arch=('any') +url="https://github.com/jamesofarrell/i3-swallow" +license=('MIT') +depends=('i3-wm' 'python-i3ipc') +makedepends=('git') +provides=("${_pkgname}") +source=("${_pkgname}::git+${url}.git") +md5sums=('SKIP') + +pkgver() +{ + cd "$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${_pkgname}" + install -Dm 755 swallow.py "${pkgdir}"/usr/bin/swallow + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-70-g09d2