diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /i3-swallow-git | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'i3-swallow-git')
m--------- | i3-swallow-git | 0 | ||||
-rw-r--r-- | i3-swallow-git/.SRCINFO | 15 | ||||
-rw-r--r-- | i3-swallow-git/PKGBUILD | 28 |
3 files changed, 43 insertions, 0 deletions
diff --git a/i3-swallow-git b/i3-swallow-git deleted file mode 160000 | |||
Subproject 14fe18ebec4f36d3a9fe728f1848fecef5adaec | |||
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 @@ | |||
1 | pkgbase = i3-swallow-git | ||
2 | pkgdesc = Swallow a terminal window after a blocking application is run in i3 | ||
3 | pkgver = r66.7a9faed | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/jamesofarrell/i3-swallow | ||
6 | arch = any | ||
7 | license = MIT | ||
8 | makedepends = git | ||
9 | depends = i3-wm | ||
10 | depends = python-i3ipc | ||
11 | provides = i3-swallow | ||
12 | source = i3-swallow::git+https://github.com/jamesofarrell/i3-swallow.git | ||
13 | md5sums = SKIP | ||
14 | |||
15 | 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 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Fenner Macrae <fmacrae.dev at gmail dot com> | ||
3 | |||
4 | _pkgname=i3-swallow | ||
5 | pkgname=$_pkgname-git | ||
6 | pkgver=r66.7a9faed | ||
7 | pkgrel=1 | ||
8 | pkgdesc="Swallow a terminal window after a blocking application is run in i3" | ||
9 | arch=('any') | ||
10 | url="https://github.com/jamesofarrell/i3-swallow" | ||
11 | license=('MIT') | ||
12 | depends=('i3-wm' 'python-i3ipc') | ||
13 | makedepends=('git') | ||
14 | provides=("${_pkgname}") | ||
15 | source=("${_pkgname}::git+${url}.git") | ||
16 | md5sums=('SKIP') | ||
17 | |||
18 | pkgver() | ||
19 | { | ||
20 | cd "$_pkgname" | ||
21 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | cd "$srcdir/${_pkgname}" | ||
26 | install -Dm 755 swallow.py "${pkgdir}"/usr/bin/swallow | ||
27 | install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
28 | } | ||